Unable to run installed flatpak qt-app w/o error

Hi all,

my installation of two qt apps installed via flatpak give an error:

win32com module missed. Exporting to Word not available                                                      

GeoChart does not support non-English country names
Importing from Colnect not available
Importing from Numista not available
qt.qpa.xcb: could not connect to display
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 "/usr/lib/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.

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



the flatpak qt-apps are “opennumismat” and “okular”. the only workaround for okular is installing it via pacman and setting environment variable as follows:

export QT_QPA_PLATFORM=xcb

other qt-apps - non flatpak - work this way, too: “bitcoin-qt” and “litecoin-qt”.

There is no workaround, neither by installing dependencies nor by setting different environment variables, to get flatpak qt-apps to run without error!

Perhaps somebody knows a qt forum, where I can ask this question? The developer qt forum here has no support:

Thanks in advance!

Gerrit

You have not posted any system info so it is a bit of shot in the dark, but it is probably a x11-wayland problem. You can try two alternatives:
flatpak run --nosocket=fallback-x11 --socket=x11 io.github.opennumismat.open-numismat
or
QT_QPA_PLATFORM=wayland-egl flatpak run io.github.opennumismat.open-numismat

1 Like

I am unable to confirm the issue with opennumismat, on my machine. I have okular installed natively, and it works fine. I’ll try the flatpak, but expect no issues.

I am running KDE plasma on Wayland.

Please provide us with system information.

inxi -zv8

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.