Problems snapping new nextcloud desktop sync client

OK, it seems that finally there’s a fix for this:

  1. This needs to be merged https://github.com/ubuntu/snapcraft-desktop-helpers/pull/188 (meanwhile I forked it an applied the fix: https://github.com/pachulo/snapcraft-desktop-helpers/commit/356dc11c0f374b3e30647d36554d4c4089670db5)
  2. This layout needs to be added to the snap:
layout:                                                                                                                                                                                                              
    /usr/share/qt5:                                                                                                                                                                                                  
        bind: $SNAP/usr/share/qt5

With this two pieces I get a working nextcloud-client snap! Now I have to clean it…