Building KF5 on Qt5 now requires Phonon 5 (or no phonon at all)

Jon Severinsson jon at severinsson.net
Fri Nov 30 09:41:23 UTC 2012


Just a note to everyone building KF5 on Qt5.

If you have any phonon version installed on your system, KF5 will now try to
use it.  If said phonon version was build on Qt4 (say the phonon version
from your distro), that won't work as it would pull Qt4 in addition to Qt5.
To fix this, either uninstall phonon or install the "five" branch of phonon in
the same directory as you installed Qt5, and cmake should use that instead:
$ git clone git://anongit.kde.org/phonon --branch five
$ mkdir phonon/build && cd phonon build
$ cmake -DCMAKE_INSTALL_PREFIX=«installdir» -DCMAKE_SYSTEM_PREFIX_PATH=«installdir»:/usr/local:/usr ..
$ make && make install

Also note that if you have Phonon installed when building KF5 it will now
enable khtml and kmediaplayer which previously wasn't built on Qt5.

Those of you building KF5 on Qt4 can either completely ignore this (as Phonon
4 is sufficient), or install Phonon 5, whichever you preffer.  If you choose to
install Phonon 5, you need to install kdelibs/libinqt5 before installing
Phonon.  As libinqt5 can be built standalone without the rest of kdelibs and
don't require phonon, this is no problem, just another step in the
bootstrapping procedure.

Best Regards
Jon Severinsson
-------------- 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/20121130/67f02817/attachment.sig>


More information about the Kde-frameworks-devel mailing list