[CMake] FindQt.cmake

Brad King brad.king at kitware.com
Tue Aug 23 13:27:00 EDT 2005


Sören Freudiger wrote:
> Hello @all
> We are using the educational version of Qt. Within this version the library
> is called:
> 
> qt-mtedu333.dll
> 
> Because of that the QT_FOUND-Macro never is set to "YES" until we assigned
> the Qt library manually. 
> May it will be possible for futher versions of cmake to extend the
> FindQt.cmake file from:
> 
>   FIND_LIBRARY(QT_QT_LIBRARY
>         NAMES qt-mt qt-mt${qt_version_str_lib} qt-mt230nc
> 	  ...)
> 
> to something like:
> 
>    FIND_LIBRARY(QT_QT_LIBRARY
>         NAMES qt-mt qt-mt${qt_version_str_lib} qt-mtedu${qt_version_str_lib}
> qt-mt230nc
> 	  ...)

I've made this change which should be included in the next CMake 2.2 
release.  I also changed the non-mt version of the find to look for 
qt-edu${qt_version_str_lib}, but that is just a guess.  Is there such a 
non-mt library in the educational version?

-Brad


More information about the CMake mailing list