[CMake] FindQt4 errors out when locating QtUITools under CMake 2.8.5
Clinton Stimpson
clinton at elemtech.com
Mon Jul 25 14:35:55 EDT 2011
On Monday, July 25, 2011 10:55:58 am Charlie Sharpsteen wrote:
> 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
>
Thanks for finding. Its been fixed in git.
702538e Qt4: Fix reference of undefined variable when detecting frameworks on
Mac OS X
--
Clinton Stimpson
Elemental Technologies, Inc
Computational Simulation Software, LLC
www.csimsoft.com
More information about the CMake
mailing list