Qt World Summit: Submit your Presentation

Setting environment variables at Run Settings by sourcing a shell script

  • 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?

Log in to reply