qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.

For the Qt 6.5.0 release, the missing library was libxcb-cursor.so.0, resolved with sudo apt install libxcb-cursor0 With that, the sample widget and gui projects from QtCreator run correctly built with Qt 6.5.0. libxcb-cursor.so.0 wasn’t previously needed for Qt 6.4.0. I identified the missing library with this shell code for l in /path/to/Qt/6.5.0/gcc_64/lib/*.so; do echo $l; … Read more

QT6: “qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.”

Thank you everyone who tried to help to resolve my problem. The answer came from official Qt forum. Link to solution: https://forum.qt.io/topic/127696/qt-qpa-plugin-could-not-load-the-qt-platform-plugin-xcb-in-even-though-it-was-found/22 Basically, the problem was in lack of some dependencies. Because of specificity of Qt6 I had to install dependencies from Qt5 building manual. It’s hard to say lack of which dependency caused the … Read more