Error while loading project

Dan Leinir Turthra Jensen admin at leinir.dk
Mon Jul 27 11:37:27 UTC 2009


On Monday 27 July 2009 13:17:03 Andreas Pakulat wrote:
> On 27.07.09 12:52:50, Dan Leinir Turthra Jensen wrote:
> > On Monday 27 July 2009 12:09:46 Andreas Pakulat wrote:
> > > On 27.07.09 11:53:17, Dan Leinir Turthra Jensen wrote:
> > > > On Monday 27 July 2009 11:46:17 Milian Wolff wrote:
> > > > > Aleix Pol wrote:
> > > > > > Looks like your system is not well configured.
> > > > > >
> > > > > > Have you ran kbuildsycoca4? (this should happen automatically
> > > > > > iirc) Are you using any weird setup?
> > > > >
> > > > > Sadly kbuildsycoca4 is not run automatically when you compile from
> > > > > sources. You have to run it once after installing new plugins.
> > > >
> > > >   We are using a system in amarok which takes care of this little
> > > > problem for people, apparently found in kdelibs - cute little
> > > > progress bar widget and everything... Haven't seen the code, but i
> > > > understand it's fairly simple. Maybe that's an option here as well?
> > > > :)
> > >
> > > I don't think so, amarok (AFAIK) has two binaries and hence its
> > > possible to run kbuildsycoca4 from the first one, before starting the
> > > real. In kdevelop4 there's only one binary and I think if you run
> > > kbuildsycoca4 from its main() function that won't help with the current
> > > process.
> >
> >   Amarok only has one binary, but yes, the main logic sits in libamarok,
> > which is loaded on the run. That's also why the splash screen shows up so
> > quickly ;) But yes, the sycoca builder is run from the binary and not
> > inside the library... not entirely sure how it's done, but it works
> > really rather well :)
>
> Well, this only helps if the user has already set KDEDIRS and also won't
> help with finding new plugins. So its basically useless for us as those are
> the two cases that people have problems with. IMHO running kbuildsycoca4
> once after setting up KDEDIRS properly is much less of a problem then
> getting KDEDIRS right in the first place.

  Ah right :) There is also the case that KDev has a slightly different target 
audience to Amarok - Amarok doesn't really expect people to know what a 
command line is, and that is a quite fair assumption with programmers :)

-- 
..Dan // Leinir..
http://leinir.dk/

                          Co-
                            existence
                          or no
                            existence

                          - Piet Hein




More information about the KDevelop-devel mailing list