Comments (4)
export QT_DEBUG_PLUGINS=1
before run python script. maybe see some missing dependency libraries about xcb
from pyqt.
This was the result. Any suggestions? (The result was very long, this is the only part regarding xcb
and also the last part)
TIA
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqxcb.so"
Found metadata in lib /usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 331520
}
Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/bin/platforms" ...
loaded library "/home/user/.local/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
QObject::moveToThread: Current thread (0x3a4f250) is not the object's thread (0x3f5dbe0).
Cannot move to target thread (0x3a4f250)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/user/.local/lib/python3.9/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.
Aborted
from pyqt.
maybe different version Qtxcb problem
loaded library "/home/user/.local/lib/python3.9/site-packages/cv2/qt/plugins/platforms/libqxcb.so"
/usr/lib/aarch64-linux-gnu/qt5/plugins/platforms/libqxcb.so, metadata=
from pyqt.
Normally, PyQt5 will use the plugin library in its own directory.
check your environment variable in your python scripts at first.
import os
print(os.environ.get('PATH'))
print(os.environ.get('LD_LIBRARY_PATH'))
from pyqt.
Related Issues (20)
- feature request: give the ability to accept cookie file directly from QWebEngineView HOT 3
- Release of profile requested but WebEnginePage still not deleted. Expect troubles ! HOT 1
- PyQt5 QWebEngineView does NOT print the same thing shows in the browser HOT 1
- [讨论]交流群怎么打不开 HOT 1
- QDialog crashes when dragged across two monitors when resizing is disabled. [讨论] HOT 5
- 无边框窗口在Mac平台时无法最小化 HOT 5
- [QProcessBar-ColourfulProgress执行时,最小化切换后报错]
- Please add support for Apple Silicon HOT 1
- [PyQt5 vs PyQt6 Widget Resize not suit] HOT 9
- [问题] FramelessWindow Bug 无边框窗体Bug HOT 4
- pyqtdeploy demo? HOT 2
- QProcess Demo
- How to implement a shape selection panel for rendering in PyQt5? HOT 8
- PyQt有办法内嵌cocoa的红绿灯组件吗 HOT 4
- How to implement expansion points and the resizing process for shapes on QGraphicsScene? HOT 1
- How do I implement my own custom element for QGraphicsScene? HOT 1
- PyQt5 cannot be installed HOT 11
- 关于QTabWidget文件夹中是空的 HOT 1
- 窗口贴边隐藏demo在ubuntu系统中不行 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyqt.