January 2019
Intermediate to advanced
384 pages
11h 50m
English
In Chapter 10, Qt Performance on Embedded and Mobile, we already mentioned the possibility of building our Qt application using static linking. A static build consists of a single .exe file, thus all DLL libraries we have to take care of in the default dynamic build just disappear. Also, the Qt plugins and QML imports can be included in a statically linked executable, further simplifying the deployment.
The previously discussed, possible usage of link time optimization (LTO) would work best with static builds as well.
Unfortunately, to be able to use static linking, Qt must be first built from source with the -static configuration option set. To make things worse, this qmake option is fully supported only for ...
Read now
Unlock full access