Forum breadcrumbs - You are here:ForumGeneral: HelpCompiling qt5 static for linux
You need to log in to create posts and topics.

Compiling qt5 static for linux

Hi I am trying to compile qt5 static, everything seems to work but when I run the simulide program I get an error message and the program exits. The error message is the following:

QFactoryLoader::QFactoryLoader() ignoring "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3" since plugins are disabled in static builds Warning: Could not find the Qt platform plugin "xcb" in "" (:0, ) Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: wayland-egl, wayland, wayland-xcomposite-glx. (:0, ).

I was wondering if it is Simulide that needs the "xcb" plugin or if it is only about qt5. Have you ever compiled static Simulide for linux, if so could you give me some advice.

Regards

Hi.
I could never compile simulide  static for Linux.
There are too many problems.

And even if you compile all Qt libraries and plugins static and it works in your system, Qt libraries have other exernal dependencies that might not be present in other systems.

And even if you compile all those dependencies static they will have other depencies and so on.