[Qt-interest] qmake enviroment variables in a .pro file on windows
Sean Harmer
sean.harmer at maps-technology.com
Tue Aug 25 14:22:39 CEST 2009
Hi,
On Tuesday 25 Aug 2009 12:49:00 Nikos Geronitidis wrote:
> Hello list
>
> I am trying to get some environment variables on Windows xp prof sp2. and
> use them inside my pro file.
> something like that :
>
> myprofile.pro
> {
> TEMPLATE = subdirs
>
> Is there any way to use my build environment variables shown in the
> Projects mode in Qt Creator?
Something like this in your .pro file should do:
TEST = $$(MY_ENV_VAR)
Sean
More information about the Qt-interest-old
mailing list