[Qt-creator] Setting build environment variables from command line (Windows)

sjj246 at gmail.com sjj246 at gmail.com
Sun Nov 1 12:20:07 CET 2009


Hello,

I have a batch script that I'm using to launch Qt Creator.

set path=C:\MY_ADDITIONAL_PATH;%path%
bin\qtcreator.exe

Qt Creator starts fine, but to my surprise C:\MY_ADDITIONAL_PATH is
not found in the PATH environment variable that Qt is seeing (checked
Projects -> Build Settings -> Debug/Release Build Environment). Am I a
total noob to expect to this to work? Or am I missing something?

What I am after is that I am setting tool chains using batch scripts
and I wish not to add them all to the PATH environment variable at the
same time or by default. Instead, I would like to able to select a
specific tool chain just by double clicking the batch script and it
would also start Qt Creator.

Cheers,
\sjj



More information about the Qt-creator-old mailing list