PDA

View Full Version : Static build of Qt stuck



kevindebb
7th June 2012, 19:13
Hello everyone,

I'm trying to build a static Qt program. I'm following this http://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows guide.

But I'm already stuck on the first line where you have to add these line to mingw "configure -static -release -no-exceptions". When I enter this I get the following error-> "not recognized internal external command".

I tried to set the right path by entering this lines in the mingw command prompt but nothing changed. I'm a total newby in static building. Does anyone know what I'm doing wrong?



set QTDIR=C:\Qt\QtSDK\Desktop\Qt\4.8.1\mingw
set PATH=C:\Qt\QtSDK\mingw\bin;%PATH%
set PATH=%QTDIR%\bin;%PATH%

Naahmi
12th June 2012, 10:43
Hello everyone,

I'm trying to build a static Qt program. I'm following this http://qt-project.org/wiki/Build_Standalone_Qt_Application_for_Windows guide.

But I'm already stuck on the first line where you have to add these line to mingw "configure -static -release -no-exceptions". When I enter this I get the following error-> "not recognized internal external command".

I tried to set the right path by entering this lines in the mingw command prompt but nothing changed. I'm a total newby in static building. Does anyone know what I'm doing wrong?



set QTDIR=C:\Qt\QtSDK\Desktop\Qt\4.8.1\mingw
set PATH=C:\Qt\QtSDK\mingw\bin;%PATH%
set PATH=%QTDIR%\bin;%PATH%


Do you have tryed "configure.exe -static -release -no-exceptions" in commandline? i think you dont have cygwin =)