Running Qt/QML applications on latest Snappy

Darren Landoll darren.landoll at gmail.com
Tue Oct 13 18:33:05 UTC 2015


>
> So I'm assuming the Mir related things will be picked up on the mir-devel
> list, but just to cover some "fun" Qt and QML stuff. Basically you need a
> large number of environment variables. You can see the list in the QML
> Snapcraft plugin:
>
>
> http://bazaar.launchpad.net/~snappy-dev/snapcraft/core/view/head:/snapcraft/plugins/qml.py#L78
>
> What I'd recommend is actually using that plugin to build your snap,
> instead of using deb2snap, so then you'll get all of those environment
> variables for "free". There is an example of doing this in the snapcraft
> codebase here:
>
>
> http://bazaar.launchpad.net/~snappy-dev/snapcraft/core/view/head:/examples/qmldemo/snapcraft.yaml
>
> Then you can just setup copy for your QML files. We also have CMake and
> other Snapcraft plugins depending on how your build works.
>
>
Thanks for the info, I will definitely look at switching to snapcraft. Do
you know if that would provide any benefits/fixes for the mir server snap
also?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20151013/58a3d21a/attachment.html>


More information about the snappy-app-devel mailing list