<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<p>Hi,</p>
<p>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.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://github.com/davidchen0813/virtualkeyboard-demo">https://github.com/davidchen0813/virtualkeyboard-demo</a><br>
</p>
<p>Detail listed in README.md.</p>
<p>Notes:</p>
<p>1. The example uses a custom plugin [1], which is modified from
old qml plugin [2].<br>
</p>
<p>2. If you are running Nvidia graphic, you might meet this issue:
<a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/snappy/+bug/1588192">https://bugs.launchpad.net/snappy/+bug/1588192</a></p>
<p>3. Without LIBGL_DRIVERS_<wbr>PATH=$SNAP/<wbr>usr/lib/<wbr>x86_64-<wbr>linux-gnu/<wbr>dri,
you will hit this issue: <a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/snappy/+bug/1584178">https://bugs.launchpad.net/snappy/+bug/1584178</a></p>
<p><br>
</p>
<p> [1] <a class="moz-txt-link-freetext" href="https://github.com/snapcore/snapcraft/blob/46c46d31b21e4283c4b8fba3e432fb8458414236/docs/plugins.md">https://github.com/snapcore/snapcraft/blob/46c46d31b21e4283c4b8fba3e432fb8458414236/docs/plugins.md</a><br>
</p>
<p> [2] <a class="moz-txt-link-freetext" href="http://bazaar.launchpad.net/%7Eted/snapcraft/qml/view/head:/snapcraft/plugins/qml.py">http://bazaar.launchpad.net/~ted/snapcraft/qml/view/head:/snapcraft/plugins/qml.py</a><br>
</p>
<p><br>
</p>
<p>Thanks and Regards,<br>
</p>
<div class="moz-signature">-- <br>
<font color="black" size="2"> <b>
<h3>DAVID CHEN</h3>
</b></font></div>
</div></body></html>