[Qt-interest] error compiling with Qt on console using MSVC 2005

Ian Clark mrrooster at gmail.com
Fri Aug 20 15:28:19 CEST 2010


On 18 August 2010 10:41, Matthias Pospiech <matthias.pospiech at gmx.de> wrote:
> I have set up a console using this code:
>
[snip]

Do you have a shortcut to the 'Visual Studio Command Prompt', that
should be created by the VS2005 install?

If you run that, then run qmake over your QT project, and then nmake
does that work?

ie, open the VS2005 command prompt from the shortcut, then do:

C:\Qt\msvc\2005\4.6.3\bin\qmake
nmake

you probably won't need to set QTDIR to build it, although you might
need to set it to make it run (or copy the dlls to the correct place.)

I've found the VS2008 command line is suitable for building Qt without
any additional settings, so as long as you run the correct qmake over
the .pro file I would expect it to work the same with 2005.

Ian



More information about the Qt-interest-old mailing list