Results 1 to 3 of 3

Thread: Compiling QT 5.3.2 with Visual studio 2005

  1. #1
    Join Date
    Mar 2012
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Compiling QT 5.3.2 with Visual studio 2005

    Hello,


    I'm slowly thinking of moving from QT 4 to QT 5. Thus I downloaded the latest qt-everywhere-opensource-src-5.3.2.zip and wanted to compile it, but see that I am getting nowhere. Even the very beginning with

    configure -debug-and-release -force-debug-info -opensource -shared -vcproj -qt-sql-mysql -qt-sql-odbc -plugin-sql-mysql -plugin-sql-odbc -target xp -platform win32-msvc2005 -nomake examples -no-compile-examples -make-tool jom -no-wmf-backend -no-opengl

    ... fails while trying to build qmake. The problem is with _WIN32_WINNT not being defined at 0x0500 or higher (which I hoped that by fixing the mkspecs for win32-msvc2005 will fix, but that seems to be skipped in the configure). I did manual editing of makefile for qmake, and finally got past that, but then more errors arise once I try to finally build QT.

    So the question is - has anyone successfully built QT 5.3.2 with Visual Studio 2005 (mkspecs are there, so I'd assume it should work), and what would be the steps to successfully accomplish it.

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compiling QT 5.3.2 with Visual studio 2005

    Qt 5 needs Visual Studio 2008 because bugs in VS 2005

  3. #3
    Join Date
    Mar 2012
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compiling QT 5.3.2 with Visual studio 2005

    Thanks for prompt reply. Guess mkspecs for msvc2005 should be removed from source then to avoid confusion.

Similar Threads

  1. Qt with Visual Studio 2005
    By ustulation in forum Qt Programming
    Replies: 3
    Last Post: 14th August 2012, 15:06
  2. Qt in visual studio 2005
    By semden in forum Installation and Deployment
    Replies: 8
    Last Post: 31st October 2009, 01:52
  3. Using QT in Visual Studio 2005
    By mittalpa in forum Newbie
    Replies: 1
    Last Post: 1st July 2008, 18:19
  4. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 07:51
  5. QT - Visual Studio 2005
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 13th August 2007, 08:20

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.