I know, I know
I wasn't able to edit my previous post anymore, but I've got some updates. Just had a new system, so had to do everything right out of the box again. I was close, but some things could have been described better, so here goes:
-------
Here's how I get Qt snapshots fully working, configured and built with MSVC2005. The same list of routines is valid for MSVC2008 (aka Visual C++ 9.0) as well, it can open the project files from 2005 without any conversions (at least, I haven't seen it doing any).
- Install MSVC2005 or MSVC2008
- Install the most recent Platform SDK (@ MSDN: "Platform SDK for Windows Server 2003 R2")
- From the Platform SDK, you'll need to install at least the base + internet options
- Then, download and extract a recent snapshot or the preview release to D:\Qt\4.x.x
- Open up a console with the MSVC settings loaded (see MSVC Tools-menu) and go to your Qt directory
- Type "configure -platform win32-msvc2005" without the quotation marks
- That will build you the project files you'll need
- After that, it's as simple as running "nmake" and drinking a lot of coffee
Then, add D:\Qt\4.x.x\bin and D:\Qt\4.x.x\lib to your path environment variable, and you'll be able to use this version of Qt from everywhere on your system. The latter could be added to the library section in the options from MSVC as well.
When you run into a build error which tells you that QNetworkProxy is undefined, that's caused because one of the headers in Qt tells the compiler to forward declare QNetworkProxy only. Including QNetworkProxy.h in the source file giving the error, should solve it.





Reply With Quote

Bookmarks