Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
5.0.0 RC 1
-
None
-
Ubuntu 12.04 i386
Description
I’ve built a static version of Qt 5 RC 1, but all of the applications I build, including the Qt examples, will immediately quit with the following message:
Failed to load platform plugin "xcb". Available platforms are:
The program has unexpectedly finished.
Here’s the configure call I used to build:
./configure -release -static -opensource -nomake examples -nomake tests -qt-xcb
My issue looked similar to QTBUG-24496 which suggested adding the following to main.cpp:
#include <QtCore/QtPlugin>
...
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
but that just results in the following link error:
undefined reference to `qt_static_plugin_QXcbIntegrationPlugin()’