-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm running StreamController from source, and I just noticed that certain applications do not start. It seems related to Qt. Most applications work fine but, for example, if I start a konsole instance from a button, then try to start VLC from within that instance, I get:
loaded library "/home/godlike/virtualenv/streamcontroller/lib/python3.13/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
QObject::moveToThread: Current thread (0x7f9a50000dc0) is not the object's thread (0x7f9a5000bd50).
Cannot move to target thread (0x7f9a50000dc0)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/godlike/virtualenv/streamcontroller/lib/python3.13/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, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland.
The only other application I noticed was affected was Quassel, which is in a weird state where it still depends on Qt-5/KDE-5 bits IIUC.
I tried replacing opencv-python==4.11.0.86 with opencv-contrib-python==4.11.0.86 but the issue still persists. I'm using Gentoo with qt-6.8.3, and the opencv version installed system-wide is 4.10, everything works otherwise
Moving that libqxcb.so away from the virtualenv and re-running StreamController makes everything work correctly.
Metadata
Metadata
Assignees
Labels
No labels