Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Setting environment variables at Run Settings by sourcing a shell script
Forum Updated to NodeBB v4.3 + New Features

Setting environment variables at Run Settings by sourcing a shell script

Scheduled Pinned Locked Moved Qt Creator and other tools
qtcreator
1 Posts 1 Posters 739 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    toliveira
    wrote on 14 May 2015, 20:19 last edited by
    #1

    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 Reply Last reply
    0

    1/1

    14 May 2015, 20:19

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved