Setting environment variables at Run Settings by sourcing a shell script
Qt Creator and other tools
1
Posts
1
Posters
739
Views
1
Watching
-
wrote on 14 May 2015, 20:19 last edited by
I am trying to configure the "Run Settings" on Qt Creator 3.0.1.
I would like to set the value of many environment variables by sourcing a shell script 'myScript'.
However, Deployment's Custom Process Step apparently doesn't accept 'source' as a command.If I execute the script instead of sourcing it, it sets the environment variables of the shell process in which it is executed, which is not the same where Qt Creator runs the executable.
Is it possible to use 'myScript' to configure the environment variables ? How should I call it?
1/1