PDA

View Full Version : QT SDK 2010.05 + VS 2010, configuration error



justik
29th November 2010, 22:46
On my computer (Win7 32, VS2010 Ultimate) I would like to use QT Creator and QT Visual Studio add in, both LGPL versions.

So I have installed QT 2010.05 SDK and in the VS 2010 Command prompt the following steps have been performed:

configure -static
nmake sub-src

I checked QT Creator and it successfully runs. After the translation has been finished I installed VS 2010 add I tried to add new QT version int the path

C:\Qt\2010.05\qt

But the following error message has appeared:

QT in the given path was built using minGW

It do not understand why because the translation has been performed for the VS2010 in VS 2010 command prompt.

Where is the error? How to compile it correctly?

franz
30th November 2010, 20:56
add -platform win32-msvc2010 (or something like that) to your configure command. mingw is the default. It is actually surprising if nmake managed to build the full Qt libraries with mingw, since it isn't suitable for working with mingw.