kdev4 with multiple projects + code completion across projects

Marek Jasovsky jasovsky.marek at gmail.com
Sat Aug 30 15:02:38 UTC 2008


2008/8/30, Andreas Pakulat <apaku at gmx.de>:
> On 30.08.08 16:17:34, Marek Jasovsky wrote:
>> 2008/8/30, Andreas Pakulat <apaku at gmx.de>:
>> > On 30.08.08 10:55:40, Marek Jasovsky wrote:
>> >> 2nd one. does code completion for cpp work also within all opened
>> >> projects within one instance of kdev4(this would be workspace scope
>> >> for eclipse / solution scope for VisualStudio) I have the feeling code
>> >> completion does not work as expected when base and derived classes are
>> >> in different projects.
>> >
>> > It works always, as long as C++ support can find the relevant headers by
>> > finding the needed include directories. So this might fail for
>> > custom-makefile projects, custom buildsystems and under some
>> > circumstances even for qmake project.
>>
>> How can I force kdev4 to find include files in $home/kdev4 instead of
>> /usr include files? yes, you are true sometimes kde4 can't locate my
>> include files.
>
> By fixing your build. Which exact include's are taken from /usr/include
> instead of $HOME/kde4?

it can not find QDir and QLayout (so Qt include files)
and it neither can find language/duchain/*.h include files for cpp
files within kdevelop project. (those duchain plugins do come from
kdevplatform project and I have them in $home/src/kdevplatform/...

thanks

marek




More information about the KDevelop-devel mailing list