I had made some small changes to the qtvars.bat file that you sent to me. I attached the
modified file.qt is in “C:\Qt\4.2.2″ folder in my hard disk.and I use “C:\VSS” as project
folder.”C:\Program Files\Microsoft Visual Studio 8″ is the VSIDE directory.
after executing qtvars.bat from command line generated output is:
C:\VSS>qtvars.bat
Setting up a MSVS.NET/Qt only environment…
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
– QTDIR set to C:\Qt\4.2.0-msvc.net
– PATH set to C:\Qt\4.2.0-msvc.net\bin
– QMAKESPEC set to win32-msvc.net
C:\VSS>
I have retyped “qconfigure.bat msvc2005 -debug-and-release” the command after executing the
bat file that sent to me. can you please check the .bat file that I had executed ? maybe
I have made a mistake in it.
that is the output generated when I typed “qconfigure.bat msvc2005 -debug-and-release”
command after executing the .bat file that sent to me.
====================================================
You are now ready to build Qt (msvc2005)
If you specified -static or only want to build the
Qt library, type ‘nmake sub-src’
otherwise, type ‘nmake’
To start over, type ‘nmake distclean’
and then re-run qconfigure.bat
====================================================
when I typed nmake then the error below generated: It is taking
link /LIBPATH:”c:\Qt\4.2.2\lib” /LIBPATH:”c:\Qt\4.2.2\lib” /NOLOGO /SUBS
YSTEM:WINDOWS /incremental:no /OUT:”..\..\bin\pixeltool.exe” @C:\DOCUME~1\TUFANG
~1\LOCALS~1\Temp\nm1D4.tmp
cd designer && nmake -f Makefile
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
cd src && nmake -f Makefile
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
cd uitools && nmake -f Makefile
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
nmake -f Makefile.Debug all
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
c:\Qt\4.2.2\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DWIN32 -D_CRT_
SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DQFORMINTERNAL_NAMESPACE -DQT_D
ESIGNER_STATIC -DQT_DESIGNER -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD
_SUPPORT -I”C:/Qt/4.2.2/include/QtCore” -I”C:/Qt/4.2.2/include/QtCore” -I”C:/Qt/
4.2.2/include/QtGui” -I”C:/Qt/4.2.2/include/QtGui” -I”C:/Qt/4.2.2/include/QtXml”
-I”C:/Qt/4.2.2/include/QtXml” -I”C:/Qt/4.2.2/include” -I”C:/Qt/4.2.2/tools/desi
gner/src/lib/uilib” -I”C:/Qt/4.2.2/include/ActiveQt” -I”tmp\moc\debug_shared” -I
“.” -I”..\..\..\..\mkspecs\win32-msvc2005″ ..\lib\uilib\abstractformbuilder.cpp
-o tmp\moc\debug_shared\abstractformbuilder.moc
cl -c -nologo -Zm200 -GS -Od -Zi -Gm -MDd -GR -EHsc -W3 -DUNICODE -DQT_L
ARGEFILE_SUPPORT -DWIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-DQFORMINTERNAL_NAMESPACE -DQT_DESIGNER_STATIC -DQT_DESIGNER -DQT_XML_LIB -DQT_G
UI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I”C:/Qt/4.2.2/include/QtCore” -I”C:/Qt
/4.2.2/include/QtCore” -I”C:/Qt/4.2.2/include/QtGui” -I”C:/Qt/4.2.2/include/QtGu
i” -I”C:/Qt/4.2.2/include/QtXml” -I”C:/Qt/4.2.2/include/QtXml” -I”C:/Qt/4.2.2/in
clude” -I”C:/Qt/4.2.2/tools/designer/src/lib/uilib” -I”C:/Qt/4.2.2/include/Activ
eQt” -I”tmp\moc\debug_shared” -I”.” -I”..\..\..\..\mkspecs\win32-msvc2005″ -Fotm
p\obj\debug_shared\ @C:\DOCUME~1\TUFANG~1\LOCALS~1\Temp\nm1D6.tmp
ui4.cpp
formbuilder.cpp
abstractformbuilder.cpp
Generating Code…
cl : Command line warning D9028 : minimal rebuild failure, reverting to normal b
uild
cl -c -nologo -Zm200 -GS -Od -Zi -Gm -MDd -GR -EHsc -W3 -DUNICODE -DQT_L
ARGEFILE_SUPPORT -DWIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE
-DQFORMINTERNAL_NAMESPACE -DQT_DESIGNER_STATIC -DQT_DESIGNER -DQT_XML_LIB -DQT_G
UI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I”C:/Qt/4.2.2/include/QtCore” -I”C:/Qt
/4.2.2/include/QtCore” -I”C:/Qt/4.2.2/include/QtGui” -I”C:/Qt/4.2.2/include/QtGu
i” -I”C:/Qt/4.2.2/include/QtXml” -I”C:/Qt/4.2.2/include/QtXml” -I”C:/Qt/4.2.2/in
clude” -I”C:/Qt/4.2.2/tools/designer/src/lib/uilib” -I”C:/Qt/4.2.2/include/Activ
eQt” -I”tmp\moc\debug_shared” -I”.” -I”..\..\..\..\mkspecs\win32-msvc2005″ -Fotm
p\obj\debug_shared\ @C:\DOCUME~1\TUFANG~1\LOCALS~1\Temp\nm1D7.tmp
cl : Command line warning D9028 : minimal rebuild failure, reverting to normal b
uild
quiloader.cpp
.\quiloader.cpp : fatal error C1033: cannot open program database ‘c:\qt\4.2.2\t
ools\designer\src\uitools\vc80.idb’
NMAKE : fatal error U1077: ‘”C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE”‘ : return code ‘0×2′
Stop.
NMAKE : fatal error U1077: ‘”C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.EXE”‘ : return code ‘0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ‘0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ‘0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ‘0×2′
Stop.
NMAKE : fatal error U1077: ‘cd’ : return code ‘0×2′
Stop.
if you have time and reply then I will be able to run the application under vs.
one of my friends said that qt toolkit open source version does not run with vs2005. I dont
have any idea about that.
have a good day.
Attached Files:
qtvars.bat 1K
