From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.

Building/Running static plugin?

  • Hello all,

    I have been trying to compile/execute an application with QT statically linked. I have been able to build the static QT libraries successfully and I have linked them with my application. However, when I run the application I get the following error:

    "This application failed to start because it could not find or load the Qt platform plugin “linuxfb”"
    With QT_DEBUG_PLUGINS set to 1, it also reports that" QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.2" since plugins are disabled in static builds"

    I have linked the libqlinuxfb.a file, and I followed the directions outlined on this page ( and added qlinux to the QTPLUGIN line, but I still get the same message. I have also tried putting the Q_IMPORT_PLUGIN(qlinuxfb) macro in my main.cpp, but at linktime I get the following error: "undefined reference to `qt_static_plugin_qlinuxfb()".

    Any help or advice is greatly appreciated.

  • use macro: