Hello, Thanks for your answer Frans, but I already have cmake scripts that are functional for Qt4. Qt5, however, uses a different approach ( http://doc-snapshot.qt-project.org/5.0/cmake-manual.html ). I did find some scripts like "Qt5CoreConfig.cmake" in the Qt5 directory tree and I guess could include them directly, but I don't think this is how it should be done. So my question remains ... where is the FindQt5Core.cmake file? Should it be included in CMake 2.8.9?
Walter On Fri, Sep 7, 2012 at 1:49 PM, Frans Klaver <[email protected]> wrote: > On Fri, Sep 7, 2012 at 1:45 PM, Walter Horsten > <[email protected]> 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: >> >> FIND_PACKAGE(Qt5Core) >> >> 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. > > Frans _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
