![]() Registered Member ![]()
|
Hi.
I am trying to build kde-baseapps after building kde frameworks sucessfuly over QT 5. I install extra-cmake-modules as well as Cmake 2.8.9. This is on a Kubuntu 12.10 system. Is this an issue with extra-cmake-modules, or is there someother dependancy I need to build? Thanks! This is the error I get:
|
![]() Registered Member ![]()
|
Any ideas? I can't find much on qt4_add_dbus_adaptor or Qt5TransitionalConfig.cmake
|
![]() Registered Member ![]()
|
Did you followed instructions here?
http://community.kde.org/Frameworks/Building |
![]() Registered Member ![]()
|
kdelibs Frameworks builds. I'm trying to build kde-baseapps around it now, and I get that error. |
![]() KDE Developer ![]()
|
As far as I know, baseapps are not (like most of other parts of kde sc) ported to frameworks 5.
KF5 is an ongoing effort. Guessing that porting of non-libs parts of kde will begin much later - when the main work in KF5 is finished. |
![]() Registered Member ![]()
|
Ah. so it isn't source compatible... or it's not providing the correct .cmake files yet. Well I guess I'll wait it out then. Thanks. |
![]() Registered Member ![]()
|
I don't know if I should open a new thread for this, but are there any apps right now that are ported to just kdelibs frameworks? The tests that come with kdelibs are all that works. (some of them)
|
![]() Administrator ![]()
|
Unfortunately there are only the applications in kde-runtime which could be ported. I think there is a seperate frameworks branch for that work.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hm... I checked for a frameworks branch in the web git browser in kde-baseapps... but I did find http://www.kdab.com/porting-from-qt-4-to-qt-5/ what branches is he using? |
![]() Administrator ![]()
|
I suspect this is unpublished work, based upon automated scripts. Unfortunately there is no other way to know other than by contacting Stephen.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I got a reply. He said he is using the standard git repos... So I did some more tinkering, and got the compile much further on kde-baseapps.
But now it gets to a point where /srcbuild/kde-baseapps/lib/konq/favicons/favicons.cpp:44:1: error: control reaches end of non-void function [-Werror=return-type] cc1plus: some warnings being treated as errors is there a way I can switch it to treat warnings as warnings? |
![]() Registered Member ![]()
|
How did you do it? As for your current issue, try export this as flags:
"-Wno-error" http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html |
![]() Registered Member ![]()
|
I was missing a package ![]() And thanks! I'll try that as a CFLAG and CXXFLAG... But I have a feeling something in the makefiles is causing warnings to be treated as errors. I hope the flag over rides it. UPDATE: no, it didn't work... |
![]() Registered Member ![]()
|
For 4.x i believe flags are from FindKDE4Internal.cmake:
http://quickgit.kde.org/index.php?p=kde ... rnal.cmake
|
![]() Registered Member ![]()
|
I'll try that. It feels kind of weird to edit the cmake file itself, but I'll give it a try! UPDATE: I accidentaly broke the build of QT 5 on an ISO build. kdelibs frameworks built agaisnt 4.8 and kde-baseapps built on that frameworks. It's either the way I build QT5, or QT5 itself maybe...
Last edited by nerdopolis on Mon Sep 03, 2012 2:50 am, edited 1 time in total.
|
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient