[Interest] CMake Find scripts
fransklaver at gmail.com
Fri Sep 7 13:49:15 CEST 2012
On Fri, Sep 7, 2012 at 1:45 PM, Walter Horsten
<walter.horsten at telenet.be> wrote:
> I downloaded the QT5.0.0 Beta binaries for windows, installed CMake
> 2.8.9 and tried to use cmake to locate QT5 using:
> which fails because "FindQt5Core.cmake" can't be located.
Qt4 can be found using
find_package(Qt4 COMPONENTS QtCore QtGui ... REQUIRED)
I suppose this same approach would be valid for Qt5:
find_package(Qt5 COMPONENTS QtCore REQUIRED)
Hope that helps.
More information about the Interest