Find Phonon4Qt5 gets confused

Treeve Jelbert treeve at scarlet.be
Sun Feb 3 09:25:58 UTC 2013


I have both phonon and Phonon4Qt5 installed, in separate locations
Phonon4Qt5 is in /opt/kf5

kf5 build fails because it detects bits of both versions of phonon.


# grep [P,p]hon CMakeCache.txt
PHONON_LIBRARY:FILEPATH=/usr/lib/libphonon.so
//The directory containing a CMake configuration file for Phonon4Qt5.
Phonon4Qt5_DIR:PATH=/opt/kf5/lib/cmake/phonon4qt5
kfileaudiopreview_LIB_DEPENDS:STATIC=general;kio;general;/usr/lib/libphonon.so;general;kwidgets;general;ki18n;
khtml_LIB_DEPENDS:STATIC=general;kparts;general;/usr/lib/libphonon.so;general;kjs;general;karchive;general;sonnetcore;general;/usr/lib/libjpeg.so;general;/usr/lib/libgif.so;general;/usr/lib/libpng.so;general;/lib/libz.so;general;/usr/lib/libSM.so;general;/usr/lib/libICE.so;general;/usr/lib/libSM.so;general;/usr/lib/libICE.so;general;/usr/lib/libX11.so;general;/usr/lib/libXext.so;general;/usr/lib/libXft.so;general;/usr/lib/libXau.so;general;/usr/lib/libXdmcp.so;general;/usr/lib/libXpm.so;general;kguiaddons;general;kwidgetsaddons;general;ki18n;general;kwindowsystem;
knotifyconfig_LIB_DEPENDS:STATIC=general;kio;general;Phonon::phonon4qt5;general;Phonon::phonon4qt5experimental;general;kcoreaddons;general;kwidgets;general;ki18n;
//Details about finding Phonon
FIND_PACKAGE_MESSAGE_DETAILS_Phonon:INTERNAL=[/usr/include][/usr/lib/libphonon.so][v(4.3.80)]


This is probably because of FindKDE4Internal.cmake

$ git grep \(Phonon
CMakeLists.txt:find_package(Phonon4Qt5 4.6.60)
cmake/modules/FindKDE4Internal.cmake:find_package(Phonon 4.3.80)
cmake/modules/FindPhonon.cmake:find_package_handle_standard_args(Phonon 
DEFAULT_MSG  PHONON_I


More information about the Kde-frameworks-devel mailing list