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

environment variable for LIBS dir not properly expanded in Path in "Run Settings"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 2.0.1
    • None
    • Win XP, Qt 4.6.3 libraries binary release, MSVC 2008.

    Description

      My .pro file contains a LIBS += line that specifies some required libraries that we link against, and this works as expected. I also see that the paths in the LIBS directive are helpfully added to the "Path" entry in the "Run Environment" in the "Run Settings" tab of the Project view.

      However, when the path to a lib includes an environment variable, the expanded path in the "Run Environment" is incorrect. For example:

      LIBS += -L$(PYTHON_PATH)\PCbuild

      in my .pro file (which works fine for compilation), results in

      \PCbuild;

      being added to the Path in the "Run Environment". It would be great if the mechanism that populates the "Run Environment" could properly expand the $(PYTHON_PATH) portion of the libs entry. Thanks!

      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
              liamstask Liam Staskawicz
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes