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

Make the Kits Environment available for cmake and gdb

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 6.0.0
    • None
    • Linux/X11

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes