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

Qt Creator looks in wrong directory for executable when using DESTDIR

    XMLWordPrintable

Details

    Description

      I have a simple project with the following pro file:

      DESTDIR = .
      SOURCES += app.cpp
      

      When I open this in Creator using defaults it cannot be run from Creator.

      Point is that the program is being built as <shadow-build-dir>\debug\app.exe whereas Creator is looking for <shadow-build-dir>\app.exe

      If I append a slash to DESTDIR, it works:

      DESTDIR = ./
      SOURCES += app.cpp
      

      Attachments

        Issue Links

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

          Activity

            People

              dt Daniel Teske
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes