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

Possibility to define run environment for kit settings

    XMLWordPrintable

Details

    • 7d858ff8a (master)

    Description

      It is not possible at the moment to set run environments for projects configured using a specific kit.

      Qt Creator installation used for desktop applications and embedded applications. For example, I need these variables for the embedded application (imx8qxp):

      QT_QPA_EGLFS_INTEGRATION=eglfs_kms
      QT_QPA_EGLFS_HIDECURSOR=1
      QT_QPA_EGLFS_KMS_CONFIG=/etc/qt/qt-kms.config
      QT_QPA_EGLFS_FORCE888=1
      QT_QPA_PLATFORM=eglfs

      Those variables are defined in the kit build environment but when I try to launch the application from Qt Creator they don't help. I need to go to the project run environment and set them.

      Qt Support suggested me to use "Application environment", which helps, but all projects will have those variables, causing desktop applications fail to launch (they would be using variables only applicable for embedded devices).

      We are creating a Qt-based SDK for our board and it would be extremely helpful to be able to set the run environment in the kit definition (which we create using sdktool).

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-31906
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            kitruong Kinh Truong
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes