Phonon is in integral part of the Qt [1]. The CMakeLists provided by Félix works fine on Debian with libqt4-dev[2] and libqt4-phonon[3] packages. It also works on Arch linux and with both the latest pre-built and from-source Qt4 packages for Windows.
FindQt4 is a reliable way to find Phonon for Qt4 applications except on Ubuntu. Given where it is maintained (KDE), I doubt the FindPhonon script [4] will ever get Windows support. We can rely on much better support from FindQt4 given that it's part of CMake itself.
Seems to me like this is a problem with the way Ubuntu distributes Phonon.
@Jonathan
Phonon is in integral part of the Qt [1]. The CMakeLists provided by Félix works fine on Debian with libqt4-dev[2] and libqt4-phonon[3] packages. It also works on Arch linux and with both the latest pre-built and from-source Qt4 packages for Windows.
FindQt4 is a reliable way to find Phonon for Qt4 applications except on Ubuntu. Given where it is maintained (KDE), I doubt the FindPhonon script [4] will ever get Windows support. We can rely on much better support from FindQt4 given that it's part of CMake itself.
Seems to me like this is a problem with the way Ubuntu distributes Phonon.
[1]: http:// doc.qt. nokia.com/ stable/ phonon- overview. html packages. debian. org/squeeze/ libqt4- dev packages. debian. org/squeeze/ libqt4- phonon quickgit. kde.org/ ?p=kdelibs. git&a=blob_ plain&h= cd9e5cb44f4d363 47de79a4fe1af77 1bb2f2b2e5& f=cmake/ modules/ FindPhonon. cmake
[2]: http://
[3]: http://
[4]: http://