Snapping Qt 5.7 APPs

David Chen david.chen at canonical.com
Fri Aug 19 10:10:44 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160819/66b6d2ca/attachment.html>


More information about the Snapcraft mailing list