Failed to load platform plugin xcb while launching qt5 app on linux without qt installed
Use ldd (man ldd) to show shared library dependencies. Running this on libqxcb.so
.../platforms$ ldd libqxcb.so
shows that xcb depends on libQt5DBus.so.5 in addition to libQt5Core.so.5 and libQt5Gui.so.5 (and many other system libs). Add libQt5DBus.so.5 to your collection of shared libs and you should be ready to move on.
QT Could not find the Qt platform plugin xcb
1. Install requirements:
sudo apt install make g++ pkg-config libgl1-mesa-dev libxcb*-dev libfontconfig1-dev libxkbcommon-x11-dev python libgtk-3-dev
python
is optional forQtQuick
.libgtk-3-dev
optional if you want the GTK native theme forQtWidgets
.
2. Configure:
./configure -opensource -confirm-license -nomake tests -nomake examples -prefix /path/to/install/dir
3. Compile:
make -j $(nproc)
make install
Related Topics
How to Limit the Amount of Time a Function Can Run for (Add a Timeout)
Auto Executable Python File Without Opening from Terminal
Could Not Find or Load the Qt Platform Plugin "Xcb"
Running Simulation with Hyperthreading Doubles Runtime
How to Call Wine Dll from Python on Linux
Fastest Way to Get System Uptime in Python in Linux
How to Use Tensorflow Without Cuda on Linux
Os.System() Execute Command Under Which Linux Shell
How to Return a Value from a Shell Script in a Python Script
How to Explicitly Set Carriage Return When Doing JSON.Dump
Running Python Script as Another User
Why Can't My Post-Receive Hook Run a Virtualenv Source Command
Python: Xlib -- How to Raise(Bring to Top) Windows
Reading from Linux Command Line with Python
Detect User Logout/Shutdown in Python/Gtk Under Linux - Sigterm/Hup Not Received
Creating Pyqt5 Buttons in a Loop: All Buttons Trigger the Same Callback