Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-5394

Qt Creator handles scopes differently from qmake

    XMLWordPrintable

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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            ludde Ludvig Borgne
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes