Hi All. I need to build and use QT within Microsoft visual C 2005 project. Is it possible to do that and how to?
A:
Open the Visual Studio Command promt from your start menu, then switch to your Qt directory:
configure -platform win32-msvc2005 -debug-and-release
nmake
configure supports many more options, consult the docs.
nmake will take some time, in my case it was almost 2 hours. That's ok, considering the size of the Qt framework.
milan1612
2010-09-27 15:54:41
A:
The latest release , 4.7 now has precompiled binaries for VS2008. I suspect that VS2005 is unlikely now. My attempts at building a version for Visual Studio were fraught with build errors. You will need to exclude the web kit from the build.
Try configure -no-sql-sqlite -no-qt3support -no-opengl -platform win32-msvc2005
-no-libtiff -no-dbus -no-phonon -no-phonon-backend -no-webkit
Then nmake.
ExpatEgghead
2010-09-28 04:59:50