PDA

View Full Version : How in Qt 5.9.0 to build the project into a single executable file?



svv
20th February 2018, 08:04
How in Qt 5.9.0 to build the project into a single executable file that does not need external libraries?

d_stranz
20th February 2018, 20:24
does not need external libraries

If you mean an executable that does not require Qt shared libraries / DLLs, then you need to link with a static build of Qt. If your app uses other, non-Qt libraries, you need to link with static builds of those as well.

You would probably be better off learning how to deploy a Qt application that uses shared libraries. It is a whole lot easier than creating a static build of Qt.