
Originally Posted by
wysota
The path points to the root of the installation, not to the detailed specs. That is picked up from the installation itself (the "default" subdirectory).
The path doesn't point to the root of the installation but to the lib sub folder.
C:\Users\Piotr>qmake -v
QMake version 2.01a
Using Qt version 4.5.2 in C:\Qt\4.5.2-vc\lib
C:\Users\Piotr>qmake -v
QMake version 2.01a
Using Qt version 4.5.2 in C:\Qt\4.5.2-vc\lib
To copy to clipboard, switch view to plain text mode

Originally Posted by
wysota
Through -spec (strongest) or QMAKESPEC (weaker).
To be able to use either of the above one has to know how to override the default value of the -spec option which creator shows in Projects/Build Settings/Build Steps/Effective qmake call. I had no idea where this value was taken from and couldn't find any information on this topic in documentation. If I missed something and this is documented somewhere please let me know. After reading your answers I took a look at /mkspecs/default and compared this with /mkspecs/win32-msvc2008. The only difference between them was this line
QMAKESPEC_ORIGINAL=C:/Qt/4.5.2-vc/mkspecs/win32-msvc2008
QMAKESPEC_ORIGINAL=C:/Qt/4.5.2-vc/mkspecs/win32-msvc2008
To copy to clipboard, switch view to plain text mode
present in the former but absent from the latter. This value is taken by creator as the default value of -spec option. This variable is not even mentioned in qmake's manual at http://doc.qtsoftware.com/4.5/qmake-manual.html
How could I know what to change if there's no documentation on this?

Originally Posted by
wysota
You are guessing, not stating, right? Well, in that case you are wrong in your guess.
I'm not guessing but reading official qt document named Installing Qt on Windows where there's nothing about installation step and nothing about make clean.
If I'm missing something please let me know.

Originally Posted by
wysota
Because you didn't run "make clean", I guess.
I didn't run it because when one is supposed to run
make clean
make clean
To copy to clipboard, switch view to plain text mode
it should be clearly written in documentation, right?
Bookmarks