Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 14.0.1, Qt Creator 14.0.2
-
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).