snapcraft-desktop-helpers icon indicating copy to clipboard operation
snapcraft-desktop-helpers copied to clipboard

Snapcraft no longer able to build Qt5 appplication for X11.

Open pracedru opened this issue 4 years ago • 1 comments

In our efforts to find a workaround for this issue:
https://github.com/ubuntu/snapcraft-desktop-helpers/issues/210

We noticed that snapcraft wasn't able to build a working version of Folkfinder and Dupliseek for X11. The builds do work for Wayland however. When running the snap the following message is written to console:

QObject::moveToThread: Current thread (0x29265f0) is not the object's thread (0x2fa1570).
Cannot move to target thread (0x29265f0)

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/snap/folkfinder/x1/lib/python3.6/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl.

Aborted (core dumped)

Rolling our files back to previus version where this worked doesn't seem to have an impact. The snapcraft yaml file currently used is :
https://gitlab.com/folkfinder/folkfinder-snap/-/blob/master/snap/snapcraft.yaml

pracedru avatar Aug 16 '20 06:08 pracedru

Any news on this subject?

pracedru avatar Oct 06 '20 11:10 pracedru