How to build from CMakeLists.txt?



  • I can not to build project from: https://github.com/keepassx/keepassx.git. Qt Creator show:

    bq. CMake Error at /Users/DerKode/Qt/5.2.0/clang_64/lib/cmake/Qt5/Qt5Config.cmake:26 (find_package):
    Could not find a package configuration file provided by "Qt5QtCore" with
    any of the following names:
    Qt5QtCoreConfig.cmake
    qt5qtcore-config.cmake
    Add the installation prefix of "Qt5QtCore" to CMAKE_PREFIX_PATH or set
    "Qt5QtCore_DIR" to a directory containing one of the above files. If
    "Qt5QtCore" provides a separate development package or SDK, be sure it has
    been installed.
    Call Stack (most recent call first):
    CMakeLists.txt:168 (find_package)

    How I can to fix it?



  • Hi,

    to use CMake with Qt5.x you shall read "here":http://qt-project.org/doc/qt-5.1/qtdoc/cmake-manual.html


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.