[Qt-interest] Fwd: qmake enviroment variables in a .pro file on windows
Nikos Geronitidis
geronik444 at gmail.com
Tue Aug 25 14:47:59 CEST 2009
Yes this is it. I tested :
INCLUDEPATH += $$(MY_ENV_VAR)
inside my pro file and worked..
Thanks again.
---------- Forwarded message ----------
From: Sean Harmer <sean.harmer at maps-technology.com>
Date: Tue, Aug 25, 2009 at 3:22 PM
Subject: Re: [Qt-interest] qmake enviroment variables in a .pro file on
windows
To: qt-interest at trolltech.com
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
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
--
Best Regards
Nikos Gerontidis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090825/251a9122/attachment.html
More information about the Qt-interest-old
mailing list