[Qt-creator] QTC 3.6: parsing of qmake function shadowed(path) wrong?

Jan Krause jan.krause.no19 at gmail.com
Wed Mar 23 17:42:52 CET 2016


Hi all,

since QTC 3.6 the internal parsing of qmake function shadowed(path) 
(@see http://doc.qt.io/qt-5/qmake-function-reference.html) seems to be 
wrong... especially if DESTDIR depends on the result -> the execution 
path of the current run-configuration of QTC is wrong...  but qmake 
makes it right (@see messages in the example...)

here a snippet of an example pro file:
------------------------------------------------
APP_PATH = $$shadowed($$PWD)/build


BIN_PATH = $$APP_PATH/bin

DESTDIR = $$BIN_PATH
message (BIN_PATH: $$BIN_PATH)
------------------------------------------------------------

I created a bugreport 
(https://bugreports.qt.io/browse/QTCREATORBUG-15897) ... but maybe there 
are other reasons... and I'm wrong....

Any ideas?

Cheers
Jan


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


More information about the Qt-creator mailing list