[Qt-creator] system enviroment variables

Mohammad Mirzadeh mirzadeh at gmail.com
Tue May 8 21:44:37 CEST 2012

Hi guys,

I'm having difficulty using my system enviroment variables inside the .pro
file. I've tried both



INCLUDEPATH +=$$system(echo $HEADER_VAR)

(second one based a suggestion on SO:

None of them works and Creator cannot parse. Is this possible at all or do
I need to copy paste the value of the variables in the .pro file?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120508/40fd121f/attachment.html>

More information about the Qt-creator mailing list