Building KDE Frameworks against QT 5
Jon Severinsson
jon at severinsson.net
Mon Dec 24 08:48:54 UTC 2012
You must build both libdbusmenu-qt and phonon for Qt5, or KDE frameworks will
pull the Qt4 version of them, and your build will break.
See the wiki page below for details:
http://community.kde.org/Frameworks/Building#Building_KDE_frameworks_with_Qt_5
Best regards
Jon Severinsson
At Sunday 23 December 2012 03:29:03 nerdopolis wrote:
> Hi.
>
> Sorry for the length of this, as I have diagnostic output on the bottom of
> this message.
>
> I am attempting to build kdelibs frameworks on top of QT5, and it seems
> that although it worked when I tried it months before I am running into
> some trouble
>
> I am using build scripts to build QT and kdelibs, so if I have to rebuild
> either one of them for any reason, it shouldn't be much of an issue.
>
> for QT 5, I am using the 'release' branch of git://gitorious.org/qt/qt5
> and the build options I am using are: ($WLD is /opt)
> ./configure -confirm-license -opensource -qpa -xcb -wayland -egl -opengl
> es2 -prefix $WLD -release -no-reduce-relocations -reduce-exports -nomake
> examples
>
> and for KDE Framworks, I am using the 'frameworks' branch of
> git://anongit.kde.org/kdelibs and the build options I am using are: ($WLD
> is /opt)
> cmake .. -DQT5_BUILD=TRUE -DKDE4_BUILD_TESTS=TRUE
> -DCMAKE_INSTALL_PREFIX=$WLD -DLIB_INSTALL_DIR=$WLD/lib/$(dpkg-architecture
> -qDEB_HOST_MULTIARCH)
>
> I had to add -i to make, as it fails at ~70% something to do with webkit,
> and I had to modify
> /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake to disable
> werror.
>
>
> The problem is, is that although most of KDE builds, it seems that the
> tests don't work, and with further analysis it seems both versions of QT
> are being linked into the binaries, and are segfaulting. This is the
> diagnostics for krulertest:
>
>
> Does anyone have any ideas as to why two versions of QT are being used, if
> that is the problem, and if so how I can prevent it from happening?
>
> Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20121224/548068e5/attachment.sig>
More information about the Kde-frameworks-devel
mailing list