Hello! I have another problem with my snap(. It does not run with this error: " qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “/snap/master-pdf-editor-5/x1/lib/x86_64-linux-gnu/qt/plugins/platforms” 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.
I am using snapcraft 8.7.4 to build my snap from a readymade binary created using pyinstaller containing pyqt. Yet I am getting the same error
fontrapak
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" 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: wayland-egl, minimalegl, offscreen, xcb, minimal, wayland, linuxfb, vkkhrdisplay, vnc.
======== Running on http://localhost:8002 ========
(Press CTRL+C to quit)
Aborted (core dumped)
parts:
fontrapak:
stage-packages:
- libgl1
- libegl1
- libxcb-cursor0
plugin: dump
source: . # the pre-compiled binary is in the bin directory in respect to snapcraft.yaml
organize:
fontrapak: bin/fontrapak
icon: gui/fontrapak.svg
license: GPL-3.0+
apps:
fontrapak:
command: bin/fontrapak
environment:
QT_QPA_PLATFORM: xcb # Required for Qt applications in a snap
plugs:
- x11
- unity7
- opengl
- network # if any network access is needed
- home # if it needs access to user home directory
- removable-media # if it needs access to removable media.
- desktop
- desktop-legacy
- wayland # for wayland support