qt - CMake doesn't find Qt5QuickCompiler -


i'm trying build qt quick controls application cmake. use following documentation:

http://doc.qt.io/qtquickcompiler/qquickcompiler-building-with-cmake.html

when running cmake, i'm getting error:

by not providing "findqt5quickcompiler.cmake" in cmake_module_path   project has asked cmake find package configuration file provided   "qt5quickcompiler", cmake did not find one.    not find package configuration file provided "qt5quickcompiler"   of following names:      qt5quickcompilerconfig.cmake     qt5quickcompiler-config.cmake 

at line:

find_package(qt5quickcompiler) 

obviously cmake doesn't find qt5quickcompiler. checked in qt folder (c:\qt) it's not there. yet run application qmake.

what need set in order find qt5quickcompiler?

the error pretty clear: cmake doesn't have module qt5quickcompiler find it. doesn't know is. i've checked corresponding cmake folder , doesn't have file. i'm not sure qt documentation page talking there no such file in cmake distribution. maybe qt sources have file somewhere?


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -