<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>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:<br>
<br>
<a href="http://bazaar.launchpad.net/~snappy-dev/snapcraft/core/view/head:/snapcraft/plugins/qml.py#L78" target="_blank">http://bazaar.launchpad.net/~snappy-dev/snapcraft/core/view/head:/snapcraft/plugins/qml.py#L78</a><br>
<br>
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:<br>
<br>
<a href="http://bazaar.launchpad.net/~snappy-dev/snapcraft/core/view/head:/examples/qmldemo/snapcraft.yaml" target="_blank">http://bazaar.launchpad.net/~snappy-dev/snapcraft/core/view/head:/examples/qmldemo/snapcraft.yaml</a><br>
<br>
Then you can just setup copy for your QML files. We also have CMake and other Snapcraft plugins depending on how your build works.<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></div></blockquote><div><br></div><div>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?</div><div><br></div></div></div></div>