Hello!<br><br>i&#39;m trying to build latest kdebase-runtime module from 4.3 branch with phonon from qt (kde-qt repo) instead of kdesupport<br><br>cmake finds headers/libraries but then build stops with:<br><br>phonon/kded-module/phononserver.h:26:36: error: Phonon/ObjectDescription: No such file or directory<br>
<br>i tried to fix that and found that FindQt4.cmake (from kdelibs) doesn&#39;t set QT_PHONON_INCLUDE_DIR right (ie it doesn&#39;t finds headers)<br><br>this patch fixes that:<br>===========================================================<br>
--- FindQt4.cmake.orig  2009-07-27 21:59:42.670907643 +0400<br>+++ FindQt4.cmake       2009-07-27 22:14:37.585907753 +0400<br>@@ -739,9 +739,10 @@<br>     )<br>   <br>   # Set QT_PHONON_INCLUDE_DIR<br>-  FIND_PATH(QT_PHONON_INCLUDE_DIR phonon<br>
+  FIND_PATH(QT_PHONON_INCLUDE_DIR Phonon<br>     PATHS<br>     ${QT_INCLUDE_DIR}/phonon<br>+    ${QT_HEADERS_DIR}/phonon<br>     NO_DEFAULT_PATH<br>     )<br>===========================================================<br>
<br>i added QT_HEADERS_DIR just to match others QT_.*_INCLUDE_DIR<br><br>real issue is that it&#39;s looked for &quot;phonon&quot; but only &quot;Phonon&quot; exists there<br><br>-- <br>Pavel<br>