Hi, I was just wondering if anyone has already tried to compile Qt with the new version of microsoft compiler, successfully that is ??
I just compiled it successfully with visual studio 2008 c++ compiler, without any problems.
Hi, I was just wondering if anyone has already tried to compile Qt with the new version of microsoft compiler, successfully that is ??
I just compiled it successfully with visual studio 2008 c++ compiler, without any problems.
Last edited by moowy; 20th November 2007 at 22:53. Reason: I answered my question :)
Yes i try to load the ISO VS 2008 beta ... && install
and QT4 is build quickly ....
And the VS console envoirment make all qt setting on last minute...
And i can continue to work on Mingw on a normal console... Why?
Mingw error on build projekt is more easy to understanding :-)
moowy
Could you write some tutorial.
I had some problem,when compiling with vs2008 with mkspec win32-msvc2005.
Hey,
I used nothing special or extraordirnary:
i defined QMAKESPEC and QTDIR variables and than configure, nmake(in visual studio command prompt) and everything compiled successfully .
Are you using the Express version? I had professional working with 2005 but 2008 isnt compiling. I used default configure with win32-msvs2005 makespec. This is the last few dozen lines of nmake.
lib\arch\generic" -I"..\..\..\include" -I"." -I"..\..\..\include\QtCore" -I"..\.
.\..\include\QtXml" -I"." -I"..\..\..\mkspecs\win32-msvc2005" -Fotmp\obj\release
_shared\ @C:\DOCUME~1\Mark\LOCALS~1\Temp\nm878.tmp
qdom.cpp
qxmlutils_p.cpp
qxml.cpp
Generating Code...
link /NOLOGO /INCREMENTAL:NO /SUBSYSTEM:CONSOLE /MANIFESTFILE:"tmp\obj\r
elease_shared\rcc.intermediate.manifest" /OUT:..\..\..\bin\rcc.exe @C:\DOCUME~1\
Mark\LOCALS~1\Temp\nm879.tmp
qbytearray.obj : error LNK2019: unresolved external symbol _compress2 referenced
in function "class QByteArray __cdecl qCompress(unsigned char const *,int,int)"
(?qCompress@@YA?AVQByteArray@@PBEHH@Z)
qbytearray.obj : error LNK2019: unresolved external symbol _uncompress reference
d in function "class QByteArray __cdecl qUncompress(unsigned char const *,int)"
(?qUncompress@@YA?AVQByteArray@@PBEH@Z)
..\..\..\bin\rcc.exe : fatal error LNK1120: 2 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
C:\Qt-vs2008>
I have successfully compiled it with express and team suite versions, so I think, that it does not matter which version of visual studio 2008 you use. They all have the same version of compiler.
@Cramed: this is not a compiler problem. You've zlib.h in your INCLUDE Paths somewhere. Therefore configure.exe thinks you want to use system zlib instead the one shipped with Qt. enable qt-zlib (see configure.exe --help hwo to do so). Also take a look what configure.exe tells you - it prints out all relevant things.
Bookmarks