Important: Please read the Qt Code of Conduct -

How to build from CMakeLists.txt?

  • I can not to build project from: 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:
    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":

Log in to reply