1

How to build a Qt 5 static

view story
linux-howto

http://stackoverflow.com – I worked with Qt Creator 2.6.2 based on Qt 5.0.1 in a linux environnement. The application works fine on the computer where I made the compilation but when I execue it on another computer I got errors like : error while loading shared libraries: libQt5WebKitWidgets.so.5: cannot open shared object file: No such file or directory error while loading shared libraries: libxslt.so.1: cannot open shared object file: No such file or directory I found some solution in this link (some links are dead). So I added to my .pro file this line : CONFIG += static To compile my project statically. (HowTos)