<div dir="ltr">Kf5 just updated to 5.10 (Arch Linux), and now the build succeeds. </div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>--</div>Lucas Tanure <br>+55 (19) 988176559<br></div></div></div>
<br><div class="gmail_quote">On Sat, May 9, 2015 at 9:02 PM, Lucas Tanure <span dir="ltr"><<a href="mailto:tanure@linux.com" target="_blank">tanure@linux.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My source :<div><br></div><div><div>tanure@archDesk  <b>kdevplatform</b> $ git show HEAD</div><div>commit <b>91001b610c4a6f095aee18d9cb0318e9ed5f0c2d</b></div><div>Author: Aleix Pol <<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></div><div>Date:   Thu May 7 15:45:30 2015 +0200</div><div><br></div><div>    Sort the run configurations within the submenus as well</div></div><div><br></div><div><br></div><div><div>tanure@archDesk  <b>kdevelop</b> $ git show HEAD  </div><div>commit <b>5feb236c049680809075bc9af616d40b9fbbd935</b></div><div>Merge: d9a8814 ec1b9e7</div><div>Author: Milian Wolff <<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a>></div><div>Date:   Wed May 6 23:50:57 2015 +0200</div><div><br></div><div>    Merge remote-tracking branch 'origin/4.7'</div></div><div><br></div><div><div>tanure@archDesk  <b>kdev</b>-<b>clang</b> $ git show HEAD</div><div>commit <b>433f7cba94f1edb17db6e68256c7d722e3c3e8c9</b></div><div>Author: Sergey Kalinichev <<a href="mailto:kalinichev.so.0@gmail.com" target="_blank">kalinichev.so.0@gmail.com</a>></div><div>Date:   Tue May 5 20:08:03 2015 +0400</div><div><br></div><div>    Change kind for type aliases to Declaration::Type.</div><div>    </div><div>    This enables highlighting of typedef's.</div><div>    </div><div>    REVIEW: 123644</div></div><div><br></div></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div>--</div>Lucas Tanure <br><a href="tel:%2B55%20%2819%29%20988176559" value="+5519988176559" target="_blank">+55 (19) 988176559</a><br></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Sat, May 9, 2015 at 8:57 PM, Lucas Tanure <span dir="ltr"><<a href="mailto:tanure@linux.com" target="_blank">tanure@linux.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I tried to compile today but I got and Error. The error is the same. </div><div>I tried to clean everything, but didn't solved. </div><div><br></div><div>[ 81%] Building CXX object tests/CMakeFiles/test_codecompletion.dir/test_codecompletion.cpp.o<br></div><div><div>In file included from /usr/include/qt/QtCore/qnamespace.h:37:0,</div><div>                 from /usr/include/qt/QtCore/qobjectdefs.h:41,</div><div>                 from /usr/include/qt/QtCore/qobject.h:40,</div><div>                 from /usr/include/qt/QtCore/QObject:1,</div><div>                 from /home/tanure/workspace/src/kdev-clang/tests/test_codecompletion.h:25,</div><div>                 from /home/tanure/workspace/src/kdev-clang/tests/test_codecompletion.cpp:23:</div><span><div>/usr/include/qt/QtCore/qmetatype.h: In instantiation of ‘constexpr int qMetaTypeId() [with T = KTextEditor::Cursor]’:</div></span><div>/home/tanure/workspace/src/kdev-clang/tests/test_codecompletion.cpp:441:5:   required from here</div><span><div>/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</div></span><div>     Q_STATIC_ASSERT_X(QMetaTypeId2<T>::Defined, "Type is not registered, please use the Q_DECLARE_METATYPE macro to make it known to Qt's meta-object system");</div><span><div>     ^</div><div>In file included from /usr/include/qt/QtCore/qobject.h:48:0,</div></span><div>                 from /usr/include/qt/QtCore/QObject:1,</div><div>                 from /home/tanure/workspace/src/kdev-clang/tests/test_codecompletion.h:25,</div><div>                 from /home/tanure/workspace/src/kdev-clang/tests/test_codecompletion.cpp:23:</div><span><div>/usr/include/qt/QtCore/qmetatype.h: In instantiation of ‘static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = KTextEditor::Cursor]’:</div><div>/usr/include/qt/QtCore/qmetatype.h:1649:44:   required from ‘constexpr int qMetaTypeId() [with T = KTextEditor::Cursor]’</div></span><div>/home/tanure/workspace/src/kdev-clang/tests/test_codecompletion.cpp:441:5:   required from here</div><span><div>/usr/include/qt/QtCore/qmetatype.h:1509:97: error: ‘qt_metatype_id’ is not a member of ‘QMetaTypeId<KTextEditor::Cursor>’</div><div>     static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); }</div><div>                                                                                                 ^</div><div>/usr/include/qt/QtCore/qmetatype.h:1509:100: error: body of constexpr function ‘static constexpr int QMetaTypeId2<T>::qt_metatype_id() [with T = KTextEditor::Cursor]’ not a return-statement</div><div>     static inline Q_DECL_CONSTEXPR int qt_metatype_id() { return QMetaTypeId<T>::qt_metatype_id(); }</div><div>                                                                                                    ^</div></span><div>tests/CMakeFiles/test_codecompletion.dir/build.make:54: recipe for target 'tests/CMakeFiles/test_codecompletion.dir/test_codecompletion.cpp.o' failed</div><div>make[2]: *** [tests/CMakeFiles/test_codecompletion.dir/test_codecompletion.cpp.o] Error 1</div><div>CMakeFiles/Makefile2:833: recipe for target 'tests/CMakeFiles/test_codecompletion.dir/all' failed</div><div>make[1]: *** [tests/CMakeFiles/test_codecompletion.dir/all] Error 2</div><span><div>Makefile:126: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div></span></div><div><br></div><div><br></div><div>Thanks</div></div><div class="gmail_extra"><span><br clear="all"><div><div><div dir="ltr"><div>--</div>Lucas Tanure <br><a href="tel:%2B55%20%2819%29%20988176559" value="+5519988176559" target="_blank">+55 (19) 988176559</a><br></div></div></div>
<br></span><div><div><div class="gmail_quote">On Sun, May 3, 2015 at 5:14 AM, Kevin Funk <span dir="ltr"><<a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Monday, April 27, 2015 14:54:38 Milian Wolff wrote:<br>
> On Monday 27 April 2015 10:37:04 Milian Wolff wrote:<br>
> > On Monday 27 April 2015 10:05:28 Kevin Funk wrote:<br>
> > > On Sunday, April 26, 2015 23:46:32 Aleix Pol wrote:<br>
> > > > On Sun, Apr 26, 2015 at 4:51 PM, Andreas Pakulat <<a href="mailto:apaku@gmx.de" target="_blank">apaku@gmx.de</a>> wrote:<br>
> > > > > Hi Milian,<br>
> > > > ><br>
> > > > > On Sun, Apr 26, 2015 at 3:08 PM, Milian Wolff <<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a>><br>
wrote:<br>
> > > > >> On Saturday 25 April 2015 09:46:39 Lucas Tanure wrote:<br>
> > > > >> > /usr/include/qt/QtCore/qmetatype.h:1648:5: error: static<br>
> > > > >> > assertion<br>
> > > > >> > failed: Type is not registered, please use the Q_DECLARE_METATYPE<br>
> > > > >> > macro to make it known to Qt's meta-object system<br>
> > > > >><br>
> > > > >> Are you building KF5 yourself or are you using a distro package? I<br>
> > > > >> cleaned<br>
> > > > >> up<br>
> > > > >> the KTextEditor framework to offer this in range.h/cursor.h there.<br>
> > > > >> So,<br>
> > > > >> if<br>
> > > > >> possible, update your KTextEditor framework. Otherwise, I'll add<br>
> > > > >> the<br>
> > > > >> metatype<br>
> > > > >> declaration again in macro guards.<br>
> > > > ><br>
> > > > > Is there a general consensus on wether kdevelop/kdevplatform is<br>
> > > > > allowed<br>
> > > > > to<br>
> > > > > depend on frameworks master branches? That is, are you expecting all<br>
> > > > > contributors to build kf5 from git until the first release?<br>
> > > > ><br>
> > > > > Andreas<br>
> > > > ><br>
> > > > > _______________________________________________<br>
> > > > > KDevelop-devel mailing list<br>
> > > > > <a href="mailto:KDevelop-devel@kde.org" target="_blank">KDevelop-devel@kde.org</a><br>
> > > > > <a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
> > > ><br>
> > > > It hasn't been discussed yet.<br>
> > > ><br>
> > > > Maybe we could require the last KF5 released version.<br>
> > > > In Plasma master, KF5 master is required and for frameworks the last<br>
> > > > released version at the .0 release date.<br>
> > > ><br>
> > > > The plan is to have distributions packaging newer KF5 versions as they<br>
> > > > are released. (and it's already happening for Kubuntu and ArchLinux,<br>
> > > > at least).<br>
> > ><br>
> > > That doesn't match my impression of Kubuntu. And which I just got<br>
> > > confirmed<br>
> > > by Riddell & Harald on IRC:<br>
> > ><br>
> > > - Kubuntu 15.04 is shipping KF5.9<br>
> > > - It will very likely stay at that version (i.e. no updates),<br>
> > ><br>
> > >   b/c of the manpower/"paperwork" it takes to update frameworks<br>
> > ><br>
> > > - SICs or other compatibility breaks in KF5 doesn't make it easier for<br>
> > > them<br>
> > > to transition to newer KF5 releases, obviously<br>
> > ><br>
> > > Honestly, I don't see the reason why we should break compatibility with<br>
> > > KF5.9, which appears to be an attractive target given that Ubuntu is<br>
> > > shipping it.<br>
> > ><br>
> > > And this is for one simple reason: If people need to compile/install<br>
> > > dependencies to work on KDevelop5, it's always a hassle for them (cf.<br>
> > > this<br>
> > > thread). Let's just make it easier for them.<br>
> > ><br>
> > > I'll add the compatibility code to kdev-clang if no-one else steps up to<br>
> > > do<br>
> > > it (it's really not a big deal).<br>
> ><br>
> > I agree. Sorry for the hassle I introduced here, I assumed people will<br>
> > build KF5 if they want to try out KDev and thus we are free to depend on<br>
> > the latest and greatest. Having a popular distro out in the open that<br>
> > won't update for some time it's OK to uglify our code for half a year<br>
> > with the macro guards.<br>
> ><br>
> > Kevin, I'll do this if you don't beat me to it later today or so.<br>
> > KDevplatform also needs it afaik.<br>
><br>
> Fixed now, please test.<br>
><br>
> Bye<br>
<br>
</div></div>Thanks for fixing, by the way.<br>
<br>
Cheers<br>
<div><div><br>
--<br>
Kevin Funk | <a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a> | <a href="http://kfunk.org" target="_blank">http://kfunk.org</a></div></div><br>_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kde.org" target="_blank">KDevelop-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>