Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODEEXT-69

Superfluous entries in PATH variable in generated CMake kits

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 1.1.0
    • 0.9.2
    • CMake
    • None
    • All
    • 9629ecd01 (dev)

    Description

      The CMake kits generated on Linux have an environment entry like the following

          "environmentVariables": {
            "VSCODE_QT_FOLDER": "/home/egon/Qt/6.7.1/gcc_64",
            "PATH": "/home/egon/Qt/6.7.1/gcc_64:/home/egon/Qt/6.7.1/gcc_64/bin:${env:PATH}"
          },
      

      First, the entry /home/egon/Qt/6.7.1/gcc_64 is superfluous on all platforms. There are no binaries nor shared libs in that directory. It shouldn't be necessary to add.

      Second, /home/egon/Qt/6.7.1/gcc_64/bin is useful on Windows only to have Qt's DLLs in the search path. We should not need a PATH entry on non-Windows platforms.

      Attachments

        For Gerrit Dashboard: VSCODEEXT-69
        # Subject Branch Project Status CR V

        Activity

          People

            orkun.tokdemir Orkun Tokdemir
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes