[CMake] FindQt4 errors out when locating QtUITools under CMake 2.8.5

Charlie Sharpsteen chuck at sharpsteen.net
Mon Jul 25 12:55:58 EDT 2011


I ran into an issue after upgrading from CMake 2.8.4 to 2.8.5---the following
no longer works:

    FIND_PACKAGE(Qt4 COMPONENTS QtUiTools REQUIRED)

I traced the problem down to a hunk in commit
e7f05d9759ec5bc393760daee91bb7223f6c56d0:

    diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake
    index 108012a..86fce9d 100644
    --- a/Modules/FindQt4.cmake
    +++ b/Modules/FindQt4.cmake
    @@ -608,18 +608,6 @@ IF (QT_QMAKE_EXECUTABLE AND QTVERSION)

If I `patch -R` this hunk before building and installing CMake 2.8.5 then
FIND_PACKAGE can successfully locate QtUiTools.

More details on GitHub:

    https://github.com/Kitware/CMake/issues/7

-Charlie

--
View this message in context: http://cmake.3232098.n2.nabble.com/FindQt4-errors-out-when-locating-QtUITools-under-CMake-2-8-5-tp6619091p6619091.html
Sent from the CMake mailing list archive at Nabble.com.


More information about the CMake mailing list