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

Make the Kits Environment available for cmake and gdb

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: Qt Creator 6.0.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Linux/X11

      Description

      My use case is like this: I define in the kits environment an environment variable:

      KIT_SYSROOT=%{SysRoot:FilePath}

      The configured gdb and cmake are shellscripts that do something like

      • source an environment file from the KIT_SYSROOT directory and then run
      • ${KIT_SYSROOT}/usr/bin/cmake "$@"  or similar : gdb from the KIT_SYSROOT

      At the moment (tested with QtCreator 5.0.1 and 6.0.0) that idea does not work. 

      I have the impression that is an omission and it should be changed:
      Set the kits environment for the cmake and gdb process.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            larsf Lars Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes