<div dir="ltr">I am now trying to snap a html5 webapp. My source code is here at:<div><br></div><div><a href="https://github.com/liu-xiao-guo/wuziqi">https://github.com/liu-xiao-guo/wuziqi</a><br></div><div><br></div><div>Currently, my Qt version on my desktop is Qt 5.6.2:</div><div>========================================</div><div><div>QMake version 3.0</div><div>Using Qt version 5.6.2 in /usr/lib/x86_64-linux-gnu</div></div><div>========================================</div><div><br></div><div>I installed ubuntu-app-platform from the edge channel.</div><div><br></div><div><div>$ snap info ubuntu-app-platform</div><div>name: ubuntu-app-platform</div><div>summary: "Ubuntu app platform for running apps on a shared platform of libraries"</div><div>publisher: canonical</div><div>description: |</div><div> Ubuntu app platform is an optional package your app can use to minimize the</div><div> disk space the app takes. The platform offers you shared content which</div><div> includes Qt 5.6.2 with Ubuntu's backported fixes, Ubuntu UI Toolkit, PIM</div><div> libraries and Oxide web browser engine among else.</div><div> </div><div> It is recommended to use the associated cloud part desktop-ubuntu-app-platform</div><div> to make the usage easy. Note that for developing a package targeting to use</div><div> ubuntu-app-platform, you will need to use Ubuntu 16.04 LTS added with the</div><div> "stable-phone-overlay" PPA which includes the newer Qt and other packages!</div><div>tracking: edge</div><div>installed: 1 (34) 216MB -</div><div>refreshed: 2017-02-08 21:34:47 +0800 CST</div><div>channels: </div><div> stable: 1 (22) 154MB -</div><div> candidate: 1 (34) 216MB -</div><div> beta: 1 (34) 216MB -</div><div> edge: 1 (34) 216MB -</div></div><div><br></div><div>When running my app, it comes the error like:</div><div><br></div><div>===============================================</div><div><div>$ wuziqi </div><div>This application failed to start because it could not find or load the Qt platform plugin "xcb"</div><div>in "".</div><div><br></div><div>Reinstalling the application may fix this problem.</div><div>Aborted (core dumped)</div></div><div>================================================</div><div><br></div><div>What could be the reason for it?</div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 9, 2017 at 10:28 AM, XiaoGuo Liu <span dir="ltr"><<a href="mailto:xiaoguo.liu@canonical.com" target="_blank">xiaoguo.liu@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">These days, I tried to make use of <span style="font-size:26.4px">ubuntu-app-platform. </span>I have upgraded the snap to the latest version 34 from the edge channel. Still I get an error like:<div><br></div><div><div>This application failed to start because it could not find or load the Qt platform plugin "xcb"</div><div>in "".</div><div><br></div><div>Reinstalling the application may fix this problem.</div><div>Aborted (core dumped)</div></div><div><br></div><div>What could be the problem for it?</div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Wed, Feb 8, 2017 at 11:54 PM, Florian Boucault <span dir="ltr"><<a href="mailto:florian.boucault@canonical.com" target="_blank">florian.boucault@canonical.<wbr>com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Indeed, sorry about that. The latest version with no Qt bundled is released now.<span class="m_7575559384313498079HOEnZb"><font color="#888888"><div><br></div><div>Florian</div></font></span></div><div class="m_7575559384313498079HOEnZb"><div class="m_7575559384313498079h5"><br><div class="gmail_quote"><div dir="ltr">Le mer. 8 févr. 2017 à 14:20, Timo Jyrinki <<a href="mailto:timo.jyrinki@gmail.com" target="_blank">timo.jyrinki@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2017-02-07 17:00 GMT+02:00 Florian Boucault <<a href="mailto:florian.boucault@canonical.com" class="m_7575559384313498079m_7814276038729931191gmail_msg" target="_blank">florian.boucault@canonical.co<wbr>m</a>>:<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
> I thought I fixed the terminal last week. At least the terminal available on<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
> the edge channel now is working for me. Does it work for you?<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
> I made sure that the stage-packages only contain packages that are not in<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
> ubuntu-app-platform and also used build-attributes: [no-system-libraries]<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
It does not work if I upgrade to the edge version of<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
ubuntu-app-platform (and uninstall and reinstall ubuntu-terminal-app).<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
So yes you fixed it, and I tested the fix but the fixed version needs<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
to be uploaded to the store by someone with rights. Maybe Bill?<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
The current 33 version in the store still has the bundled Qt libraries<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
- see $ ls /snap/ubuntu-terminal-app/33/u<wbr>sr/lib/x86_64-linux-gnu/<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
-Timo<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
--<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
Snapcraft mailing list<br class="m_7575559384313498079m_7814276038729931191gmail_msg">
<a href="mailto:Snapcraft@lists.snapcraft.io" class="m_7575559384313498079m_7814276038729931191gmail_msg" target="_blank">Snapcraft@lists.snapcraft.io</a><br class="m_7575559384313498079m_7814276038729931191gmail_msg">
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" class="m_7575559384313498079m_7814276038729931191gmail_msg" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br class="m_7575559384313498079m_7814276038729931191gmail_msg">
</blockquote></div>
</div></div><br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_7575559384313498079gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">XiaoGuo, Liu </div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">XiaoGuo, Liu </div></div></div></div>
</div>