Results 1 to 2 of 2

Thread: QT SDK 2010.05 + VS 2010, configuration error

  1. #1
    Join Date
    Nov 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QT SDK 2010.05 + VS 2010, configuration error

    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?

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT SDK 2010.05 + VS 2010, configuration error

    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.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

Similar Threads

  1. Replies: 4
    Last Post: 11th August 2011, 08:02
  2. Error in static compilation of Qt 2010.05!
    By elton.lika in forum Newbie
    Replies: 5
    Last Post: 26th January 2011, 21:37
  3. Qt Creator Help missing? (QT 2010.02)
    By Asperamanca in forum Qt Tools
    Replies: 0
    Last Post: 22nd July 2010, 08:56
  4. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42
  5. Problem wit 2010.01
    By codeman in forum Qt Programming
    Replies: 11
    Last Post: 22nd January 2010, 15:09

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.