Kdev-clang master not building

Milian Wolff mail at milianw.de
Mon Apr 27 08:37:04 UTC 2015


On Monday 27 April 2015 10:05:28 Kevin Funk wrote:
> On Sunday, April 26, 2015 23:46:32 Aleix Pol wrote:
> > On Sun, Apr 26, 2015 at 4:51 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> > > Hi Milian,
> > > 
> > > On Sun, Apr 26, 2015 at 3:08 PM, Milian Wolff <mail at milianw.de> wrote:
> > >> On Saturday 25 April 2015 09:46:39 Lucas Tanure wrote:
> > >> > /usr/include/qt/QtCore/qmetatype.h:1648:5: error: static assertion
> > >> > failed: Type is not registered, please use the Q_DECLARE_METATYPE
> > >> > macro to make it known to Qt's meta-object system
> > >> 
> > >> Are you building KF5 yourself or are you using a distro package? I
> > >> cleaned
> > >> up
> > >> the KTextEditor framework to offer this in range.h/cursor.h there. So,
> > >> if
> > >> possible, update your KTextEditor framework. Otherwise, I'll add the
> > >> metatype
> > >> declaration again in macro guards.
> > > 
> > > Is there a general consensus on wether kdevelop/kdevplatform is allowed
> > > to
> > > depend on frameworks master branches? That is, are you expecting all
> > > contributors to build kf5 from git until the first release?
> > > 
> > > Andreas
> > > 
> > > _______________________________________________
> > > KDevelop-devel mailing list
> > > KDevelop-devel at kde.org
> > > https://mail.kde.org/mailman/listinfo/kdevelop-devel
> > 
> > It hasn't been discussed yet.
> > 
> > Maybe we could require the last KF5 released version.
> > In Plasma master, KF5 master is required and for frameworks the last
> > released version at the .0 release date.
> > 
> > The plan is to have distributions packaging newer KF5 versions as they
> > are released. (and it's already happening for Kubuntu and ArchLinux,
> > at least).
> 
> That doesn't match my impression of Kubuntu. And which I just got confirmed
> by Riddell & Harald on IRC:
> 
> - Kubuntu 15.04 is shipping KF5.9
> - It will very likely stay at that version (i.e. no updates),
>   b/c of the manpower/"paperwork" it takes to update frameworks
> - SICs or other compatibility breaks in KF5 doesn't make it easier for them
> to transition to newer KF5 releases, obviously
> 
> Honestly, I don't see the reason why we should break compatibility with
> KF5.9, which appears to be an attractive target given that Ubuntu is
> shipping it.
> 
> And this is for one simple reason: If people need to compile/install
> dependencies to work on KDevelop5, it's always a hassle for them (cf. this
> thread). Let's just make it easier for them.
> 
> I'll add the compatibility code to kdev-clang if no-one else steps up to do
> it (it's really not a big deal).

I agree. Sorry for the hassle I introduced here, I assumed people will build 
KF5 if they want to try out KDev and thus we are free to depend on the latest 
and greatest. Having a popular distro out in the open that won't update for 
some time it's OK to uglify our code for half a year with the macro guards.

Kevin, I'll do this if you don't beat me to it later today or so. KDevplatform 
also needs it afaik.

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de


More information about the KDevelop-devel mailing list