PDA

View Full Version : Compiling QT 5.3.2 with Visual studio 2005



Buldozer
22nd October 2014, 16:52
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.

Lesiok
22nd October 2014, 17:03
Qt 5 needs Visual Studio 2008 because bugs in VS 2005 (http://qt-project.org/forums/viewthread/25087)

Buldozer
23rd October 2014, 07:21
Thanks for prompt reply. Guess mkspecs for msvc2005 should be removed from source then to avoid confusion.