[PATCH] qmake4 -recursive, root *.pro handling

Thomas Hasart thasart at gmx.de
Tue Jul 31 13:36:08 UTC 2007


> > in this case filename = "src/test.cpp" and project dir of includeScope
> > = "$(projectRoot)/src" -> resulting in "$(projectRoot)/src/src/test.cpp"
> > which is one "src" to much. thatswhy kdevelop cannot open this file
> > test.cpp by clicking it.
>
> Hmm... I'm convinced, the include-file-stuff works even with your patch
> as the creation of the subscope for the actual .pri file is done while
> iterating the statements of a ProjectAST (so nodeType() doesn't return
> IncldeAST at that point).
>
> So please provide an updated patch with the warning removed and also
> without the changes regarding qmakescopeitem::text() and I will commit
> it.
>
> Andreas


Hi,

first i send the patch for qmake bugfixing qmake call if multiple pro file in 
projectdir and qt4 "qmake -recursive" call.

MfG
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trollproject_qt4_recursive_and_qmake_call.diff
Type: text/x-diff
Size: 4369 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20070731/f4b005b7/attachment.bin>


More information about the KDevelop-devel mailing list