On Sat, Sep 10, 2011 at 08:42:41PM +0200, Petr Pehal wrote:
> Hello!
> I have problem with Qt creator. My Qt creator's qmake evaluator
> cannot read enviroment variables. I have this code lines in
> my project file:
> 
> win32:RISDIR = $$system(echo %RIS_DIR%)

http://doc.qt.nokia.com/4.7/qmake-advanced-usage.html mentions
$$(...) as way to access environment variables:

  win32:RISDIR = $$(RIS_DIR)

Does that make a difference?


> Another problem with environment variable is in debugger. When
> I use debugger option "Start and debug external application",
> the started application also cant read environment variables.

This is a quick way for "one shot" debugging, not meant for
cases that need a lot of "configuration". For that it is
recommended to use a real project. You could file a feature
request on bugreports.qt.nokia.com nevertheless.

Andre'
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator

Reply via email to