1. Install Visual Studio (you can try Express Edition)
2. Get the Qt libraries for MSVC (there are only for 2008 version) or get the sources and compile Qt from sources with MSVC (that's simple: open MSVC command prompt, get to the dir where you extracted sources - something like qt-everywhere-4.6.2, type:
configure
configure
To copy to clipboard, switch view to plain text mode
answer to some questions, wait for a while (half an hour?), after it finished type:
nmake
nmake
To copy to clipboard, switch view to plain text mode
and wait for a longer while (4 hours?)
and you have Qt compiled from sources :]
3. If you have .pro file to your project then you have 2 ways:
a) open cmd line and type (in dir where your .pro file is):
qmake -tp vc
qmake -tp vc
To copy to clipboard, switch view to plain text mode
this will generate .vcproj file - Project file for MSVC - open it and build it.
b) open visual studio command prompt and type (in dir where your .pro file is):
qmake CONFIG+=release
nmake
qmake CONFIG+=release
nmake
To copy to clipboard, switch view to plain text mode
Both options will work only if you have Qt Libriaries compiled with MSVC and PATH points to qmake from this version of Qt (with spec set accordingly to your MSVC version, if not then you have to use -spec switch in qmake calls - check it in Qt Assistant).
Bookmarks