Build-dependent "run" environment in Qt Creator?
-
If I select "Projects" on the LHS of Qt Creator, I can set various "Build and Run" settings. I often use this to set a few runtime environment variables for the project. In the deployed application these would typically be set in some higher level launch script, but setting them in Qt Creator allows me to run and possibly debug the application conveniently during development.
However, whereas the "Build" settings can be per project configuration (Release, Debug, etc.), the "Run" settings seem to be applied to all configurations. There have been times where I have wanted, for example, to set different environment variables in Release and Debug builds.
I wondered whether I might be missing some way of doing this.
-
I don't think we have this functionality, please do create a feature request at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512