Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Snapcraft no longer able to build Qt5 appplication for X11. #211

@pracedru

Description

@pracedru

In our efforts to find a workaround for this issue:
#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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions