Red Hat Bugzilla – Bug 661996
find_package(KDE4 REQUIRED) fails in cmake with qt3-devel installed
Last modified: 2010-12-10 14:06:52 EST
Description of problem:
cmake complains "qmake not found".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run cmake on you've put the attached CMakeLists.txt on.
$ cmake .
CMake Error at /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:1262 (MESSAGE):
Qt qmake not found!
Call Stack (most recent call first):
This worked before. I'm not sure what changed in anywhere, but simply creating a symlink of qmake-qt4 to qmake works again. so does cmake not check qmake-qt4 anymore?
For the real problem on this issue, see Bug#661075.
Created attachment 467939 [details]
simple CMakeLists.txt to reproduce this issue
Doh! missed the attached.
Works for me with kdelibs-devel-4.5.85-2.fc15.x86_64 (upstream tarball respin).
Please retry with both qt-devel and qt3-devel installed (which is the case in the buildroot for uim).
Apparently /usr/share/kde4/apps/cmake/modules/FindQt4.cmake now accidentally picks up the Qt 3 qmake, there must be a regression there.
We need this merged from upstream CMake:
(also into upstream kdelibs).
KDE upstream merged:
and forgot to merge the followup regression fix.
Should be fixed in kdelibs-4.5.85-3.fc15 and in upstream trunk (to become 4.6, there's no 4.6 branch yet).
2657364 build (dist-rawhide, /kdelibs:9d96f580c295605cf53f28560b9912923711062c) completed successfully