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

David Faure faure+bluesystems at kde.org
Fri Nov 30 11:12:22 UTC 2012


On Friday 30 November 2012 10:41:23 Jon Severinsson wrote:
> 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.

Please update http://community.kde.org/Frameworks/Building,
in the "building with Qt5" section.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by BlueSystems and KDAB to work on KDE Frameworks



More information about the Kde-frameworks-devel mailing list