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

Working directory is not updated when switching from debug/release with qbs

XMLWordPrintable

    • 5f3b9dd89c6739024f4f3551d4f9354bd9a3985d

      When using a QBS project, in project's settings the executable is correctly set by Qt Creator. However, the working directory is set once and never updated.

      To reproduce:

      • Create a simple QBS projet
      • Starts in Debug mode
      • Switch to release
      • Starts in Release mode

      If you go to projet's settings, you will see that the working directory is still the debug one, so you are starting the release .exe from the debug directory.

      This can lead to problems when loading dlls/plugins from current directory.

        1. screenshot-1.png
          8 kB
          Thibaut DIRLIK
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kandeler Christian Kandeler
            thibautd Thibaut DIRLIK
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes