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

Incorrect Executable path in Run Settings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • Qt Creator 4.10.0
    • None
    • All, Linux/Wayland, Linux/X11, Linux/Other display system, macOS, QNX, Windows

    Description

      I have a project with .pro file for qmake support and also CMakeLists.txt for cmake support.

      In project's .pro file, if I specify DESTDIR variable option then I can find the built binary in the specified DESTDIR path AND also the Executable and Working directory paths in Run Settings are set to the same as DESTDIR path by default. Which is correct as I would expect. 

      Now for CMake, if I specify install (TARGETS ...  RUNTIME DESTINATION ... ) then I do find built binaries getting installed in the desired path BUT the Executable and Working directory paths in Run Settings still point to the binary inside "default build" folder and not to where I installed the target, which I find incorrect. 

      Attachments

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

        Activity

          People

            davschul David Schulz
            pprajap Pratikkumar Prajapati
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes