After compiling Qt (4.6)/kdesupport-trunk/kdelibs-trunk/kdepimlibs-trunk I run cmake on KOffice and get the following; CMake Error at /home/zander/work/kde/build-qt46/kdepimlibs/KdepimLibsConfig.cmake:54 (include): include could not find load file: /home/zander/work/kde/build-qt46/kdepimlibs/KDEPimLibsLibraryTargetsWithPrefix.cmake Call Stack (most recent call first): /home/zander/work/kde/build-qt46/installed/share/apps/cmake/modules/FindKdepimLibs.cmake:76 (find_package) /home/zander/work/kde/build-qt46/installed/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package) CMakeLists.txt:149 (macro_optional_find_package) -- Found KdepimLibs: /home/zander/work/kde/build-qt46/kdepimlibs/KdepimLibsConfig.cmake Notice that the build-qt46/kdepimlibs directory holds the build directory, the build-qt46/installed dir is where stuff is installed. I'm highly confused why a temporary directory is detected here in the first place. I found a workaround, remove the builddir of kdepimlibs. Not ideal, I'd rather see this fixed properly :)
Lets close this one now :)