[KDev3.4] Trollproject wrong qmake "include" handling

Thomas Hasart thasart at gmx.de
Fri Jul 27 22:21:17 UTC 2007


Hi,

the trollproject does not handling paths in include extension.
f.e.

--------*.pro
include(subdir/subdir.pri)


--------- subdir.pri
SOURCES += subdir/test.pri


if you click to open on the file item the the resulting filepath
is : "$(projectdir)/subdir/subdir/test.pri" instead 
of "$(projectdir)/subdir/test.pri"


the current include hadling only works if the *.pri is in the same directory 
of the pro file.

Another question:

Why does the qmake parser makes two items on "include" (one funktionAst and 
one child includeAst)? so you must ever expand two items to get to the 
files....

MfG
Brat




More information about the KDevelop-devel mailing list