Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 2.2.0
-
None
-
Windows 7, 64-bit
Description
Qt Creator seems to be handling scopes matching mkspecs differently from how they are handled by qmake.
I have noticed this in two different places - when Qt Creator tries to locate a DLL and when it tries to locate the program to run.
To be able to distinguish between Windows and Windows Mobile builds, I use two scopes, win32-msvc2008 and wincewm60professional-msvc2008. During compilation this works fine. But when I try to run the program, on windows, Qt Creator is unable to find the DLLs needed, or, if I have changed the DESTDIR varibale, unable to find the program to run. This changes if I instead use the win32 scope - Qt Creator can then find the DLLs, as well as the executable.
To reproduce the problem, just create a small project and add the line win32:DESTDIR=destdir. Compiling and running the program should work. Change the line to win32-msvc2008:DESTDIR=destdir, and Qt Creator will compile the program but will not be able to find the executable when you try to run it.