Всем привет! При запуске приложения на Qt (static build) выводит ошибку:
QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds
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 problem.
Если добавить в qtimportplugins:
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
То будет undefined reference:
/home/continue/qt5/qtbase/src/plugins/platforms/xcb/qxcbmain.cpp:56: undefined reference to `QXcbIntegration::QXcbIntegration(QStringList const&, int&, char**)'
хотя qxcb линкуется в проект. Как можно решить?