[Qt-creator] Using include .pri results in infinite loop
Jorge Abrines
curruscataphractus at gmail.com
Wed Jan 7 15:49:27 CET 2009
Hi all,
Finally I've detected the bug located in a pri file. The statements:
DEPENDS = $$DEP_DIR/otherdir/otherpri.pri
for(d, DEPENDS):!include($$d):error($$PWD/here.pri: cannot find $$d)
Inside a pri file results in an infinite loop using qt-creator (althouhg normal
command-line compilation works fine). Don't know why but changing this
lines by normal include_or_error statement solves the problem.
Best regards,
Jorge
Aleksey Palazhchenko wrote:
> Hi Jorge,
>
> I'm using Qt Creator for a project with many nested .pri files. I
> include them with
> include($$PWD/module.pri)
> without any trobles. May be you should show us your pri file?
>
> p.s. I'm _not_ troll. :)
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: creator_pri.tar.bz2
Type: application/x-bzip
Size: 719 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090107/163d8f2d/attachment.bin
More information about the Qt-creator-old
mailing list