akos.maroy
20th July 2009, 09:45
I'm having a strange issue here. I'm trying to compile & link my Qt-based application using MS Visual Studio. What I did is that I downloaded Qt Creator to have qmake & related tools, and I downloaded & compiled the Qt libraries using the qt-all-opensource-src.4.5.2.zip file, using MS Visual Studio 2008.
To my surprise, the qmake that comes with Qt Creator and the qmake that is the result of compiling qt-all-opensource-src.4.5.2.zip are different. For example, they generated different Qt library dependencies. The one that comes with Qt Creator generates dependencies on libraries that end if the character '4', for example QtSvg4.lib, while the qmake that comes from manual compiling the source code generated libraries & dependencies without the character postfix '4' (e.g. QtSvg.lib). (these are dependencies generated from the very same qmake project files)
what is the source of this difference?
can one compile qt-all-opensource-src.4.5.2 the very same way as Qt Creator is compiled, to generate the very same MS Visual Studio project files form the very same qmake project files?
To my surprise, the qmake that comes with Qt Creator and the qmake that is the result of compiling qt-all-opensource-src.4.5.2.zip are different. For example, they generated different Qt library dependencies. The one that comes with Qt Creator generates dependencies on libraries that end if the character '4', for example QtSvg4.lib, while the qmake that comes from manual compiling the source code generated libraries & dependencies without the character postfix '4' (e.g. QtSvg.lib). (these are dependencies generated from the very same qmake project files)
what is the source of this difference?
can one compile qt-all-opensource-src.4.5.2 the very same way as Qt Creator is compiled, to generate the very same MS Visual Studio project files form the very same qmake project files?