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

Qt Creator can't add build library search path to PATH

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.12.1, Qt Creator 4.12.2, Qt Creator 4.12.3
    • Windows
    • cmake version is too old.

    Description

      when I use cmake as the build system, Qt Creator can search the library and build the project, but when I run and debug the project, the exe will not run and debug will fail because Qt Creator not add build library search path(C:\Qt\5.14.2\msvc2017_64) to PATH, the exe can't find it's depend(Qt5Core.dll). The Qt Creator 4.11.1 is well-worked. It seems that the problem is still unsolved in Qt Creator 4.12.3 and Qt Creator 4.12.4.

      Attachments

        1. cao.JPG
          cao.JPG
          114 kB
        2. cmake.png
          cmake.png
          20 kB
        3. debug.png
          debug.png
          4 kB
        4. hello.zip
          766 kB
        5. run.png
          run.png
          6 kB

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              naruto zhuang niu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes