Hi Eric, Am Freitag, 28. August 2015, 07:41:19 schrieb Eric Hameleers: > On Mon, 10 Aug 2015, Rex Dieter wrote: > > Rex Dieter wrote: > >> Rex Dieter wrote: > >>> Raymond Wooninck wrote: > >>>> On Thursday 06 August 2015 22:21:52 Albert Astals Cid wrote: > >>>>> I failed to use the proper CC when publishing it in kde.org this > >>>>> afternoon. > >>>>> > >>>>> Any feedback? Is anyone actually compiling this or the Beta packages? > >>>> > >>>> Hi Albert, > >>>> > >>>> I have compiled KDE Applications 15.08 RC for openSUSE and have the > >>>> following failures: > >>>> > >>>> 1) libkgeomap will no longer compile as that it requires the > >>> > >>> Qt4/KDE4 > >>> > >>>> version of Marble, but Marble is now Qt5/KF5 based. > >>> > >>> It's been possible to ship both Qt4 and Qt5 based libmarblewidget for > >>> awhile, but it seems that marble devs disabled Qt4 support only > >>> recently. > >> > >> Sorry, this statement of mine was incorrect... it is still possible to > >> build both Qt4 and Qt5 versions from the latest marble sources (seems the > >> methodology changed, I'll sort that out with marble devs and report back > >> on the details). > > > > We came up with a quick fix, > > http://quickgit.kde.org/?p=marble.git&a=commit&h=5a7b3daeaab324c2c6f3ffdba > > 69a14dc959b3331 > > > > So subsequent marble builds that include that commit will build for Qt5 > > (by > > default), and for Qt4 if you set 'cmake -DQT5BUILD=OFF' > > > > -- Rex > > I tried "-DQT5BUILD=OFF" and a lot more. > No matter what I try, the moc from Qt5 eventually gets picked and I > end with errors "this file was generated using the moc from 5.5.0".
Last time I ran into such a problem with for unknown reasons Qt5'c moc being picked up, it was due to some cmake config files for Qt5-based projects being wrongly picked up, whose identifier name was the same as used for the Qt4- based version of that project (happened for me while having an early devel version of Okular/KF5 installed, when the identifier was still named like the one for the kdelibs4 version, "Okular", so the Calligra/kdelibs4 build would always try to use moc-qt5. Meanwhile Okular/KF5 has a proper "Okular5" id :) ). That cmake config file then injected moc-qt5 into the build. So check all find_package() calls and see if any of the ids used there has a cmake config file for the Qt5-based variant on your system, which would be picked over the Qt4-based variant with the same name (or even over a Find*.cmake file). Cheers Friedrich _______________________________________________ release-team mailing list [email protected] https://mail.kde.org/mailman/listinfo/release-team
