Qt5.0.2 static failed
-
Hello all, i downloaded qt sources from "this link":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip
I installed perl, python (add that to path), edit mkspecs/win32-msvc2010/qmake.conf using manual
When i try to run command "configure -static -release" i get error
@C:/qt/qtbase/mkspecs/features/qt.prf:99: Cannot create directory C:\qt\qtbase\ex
amples\gestures\imagegestures\imagegestures.pro.
Project ERROR: Aborting.
Qmake failed, return code 3@If i run command with key -no-vcproj, configure ended successfully, but when i run nmake (only, without arguments) i get error
@cd app\ && ( if not exist Makefile C:\qt\qtbase\bin\qmake C:\qt\qtmultim
edia\examples\multimedia\spectrum\app\app.pro -o Makefile ) && "C:\Program Files\Microsoft Visual Studio10.0\VC\BIN\nmake.exe" -f Makefile
Project ERROR: This application cannot be statically linked to the fftreal library
NMAKE : fatal error U1077: cd : возвращенный код "0x3"
Stop.
NMAKE : fatal error U1077: cd : возвращенный код "0x2"
Stop.
NMAKE : fatal error U1077: cd : возвращенный код "0x2"
Stop.
NMAKE : fatal error U1077: cd : возвращенный код "0x2"
Stop.
NMAKE : fatal error U1077: cd : возвращенный код "0x2"
Stop.@Any ideas? I search in google my problem, but i didn't find something.
P.S i use msvc2010 pro, win32 xp. -
So, i created bat file
@SET QTDIR=C:\Qt\qtbase
SET PATH=%QTDIR%\bin;%PATH%
SET PATH=%PATH%;C:\Program Files\Microsoft Visual Studio 10\VC\bin
SET PATH=%PATH%;%SystemRoot%\System32;C:\Perl\site\bin;C:\Perl\bin;C:\Python33;%SystemRoot%;%SystemRoot%\System32\Wbem
SET QMAKESPEC=win32-msvc2010
%comspec% /k ""C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86@