Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
5.15.0
-
None
-
OS: openSUSE Tumbleweed x86_64
Kernel: 5.8.0-1-default
GCC: 10.2.1 20200805
Description
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this proble
If you add to the cpp file:
Q_IMPORT_PLUGIN (QXcbIntegrationPlugin)
, you get an undefined reference:
/home/continue/qt5/qtbase/src/plugins/platforms/xcb/qxcbmain.cpp:56: undefined reference to `QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**)'
Libraries added to the linker:
"Qt5Core", "Qt5Gui", "Qt5Widgets", "Qt5EventDispatcherSupport", "Qt5FontDatabaseSupport", "Qt5PlatformCompositorSupport", "Qt5ThemeSupport", "qtfreetype", "qtlibpng", "qminimal", "qxcb", "qtpcre2", "qtharfbuzz", "dl", "pthread"