Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT crash on Ubuntu 22.04 #6

Open
alanocallaghan opened this issue Oct 25, 2024 · 1 comment
Open

QT crash on Ubuntu 22.04 #6

alanocallaghan opened this issue Oct 25, 2024 · 1 comment

Comments

@alanocallaghan
Copy link

Running on an Ubuntu 22.04 variant (pop-os), after creating a python virtual environment with:

python -m venv env
. env/bin/activate
pip install PyQt5 numpy opencv-python matplotlib scikit-image
python main.py

I get a failure related to QT plugins:

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

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/alan/Documents/github/imaging/FLUTE/env/lib/python3.10/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, linuxfb, minimal, offscreen, vnc, webgl.

Aborted (core dumped)

I've got various QT5 apt packages installed, couldn't find any obvious answers on StackOverflow.

@iuri-cv
Copy link

iuri-cv commented Dec 9, 2024

Hi,

Just wanted to point out I got the same error when running on a Ubuntu 20.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants