kdev4 with multiple projects + code completion across projects
Andreas Pakulat
apaku at gmx.de
Sat Aug 30 16:14:01 UTC 2008
On 30.08.08 17:02:38, Marek Jasovsky wrote:
> 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/...
Am I understanding right that you can't even compile kdevelop and
kdevplatform? Or is this red markers inside some file inside kdevelop4?
Andreas
--
You have an ambitious nature and may make a name for yourself.
More information about the KDevelop-devel
mailing list