How to static compile QT ?
-
I've been searching for the last couple of days for How to static compile the QT SDK for releasing projects .exe , I found the way to do it but whenever I did the same steps , I get an error-> file or path is not found (mingw32-make) , Please I'd like to know how to do it correctly ?
-
Okay, first of all, ensure you have installed Qt version that comes with MinGW.
Second, check if there's a Src folder. (you probably have it, since you passed further).Then you either find "Qt 5.2.0 for Desktop (MinGW 4.8 32 bit)" link in your Start menu, or you run cmd.exe and type the following:
@C:\Windows\System32\cmd.exe /A /Q /K C:\Qt5\5.2.0\mingw48_32\bin\qtenv2.bat@
(C:\Qt5 is the folder Qt installed into; it also has MaintenanceTool)There's your mingw32-make. cd to ../Src/qtbase and start configuring, then run mingw32-make and (optionally) mingw32-make install.