Hi,

I met some problems when trying to create snap for Qt5.7 apps.  After some 
digging and discussing with people, finally I have a temporary solution which I 
thought might be worth sharing.  Please see the example below that I put 
together, hopefully people will find it useful and solve some of their problems 
as well.
https://github.com/davidchen0813/virtualkeyboard-demo
Detail listed in README.md.

Notes:

1. The example uses a custom plugin [1], which is modified from old qml plugin 
[2].
2. If you are running Nvidia graphic, you might meet this issue: 
https://bugs.launchpad.net/snappy/+bug/1588192

3. Without LIBGL_DRIVERS_PATH=$SNAP/usr/lib/x86_64-linux-gnu/dri, you will hit 
this issue: https://bugs.launchpad.net/snappy/+bug/1584178


 [1] 
https://github.com/snapcore/snapcraft/blob/46c46d31b21e4283c4b8fba3e432fb8458414236/docs/plugins.md
 [2] 
http://bazaar.launchpad.net/~ted/snapcraft/qml/view/head:/snapcraft/plugins/qml.py

Thanks and Regards,
-- 
DAVID CHEN
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to