KurtPattyn / QtAwsIoT

Qt library for accessing AWS IoT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake config failed on windows, cannot found FindQt5Mqtt.cmake file.

chaosgrass opened this issue · comments

D:\GitHub\QtAwsIoT\build>cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_SHARED_LIBS=OFF ..
CMake Error at CMakeLists.txt:73 (find_package):
By not providing "FindQt5Mqtt.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Mqtt", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5Mqtt" with any
of the following names:

Qt5MqttConfig.cmake
qt5mqtt-config.cmake

Add the installation prefix of "Qt5Mqtt" to CMAKE_PREFIX_PATH or set
"Qt5Mqtt_DIR" to a directory containing one of the above files. If
"Qt5Mqtt" provides a separate development package or SDK, be sure it has
been installed.

-- Configuring incomplete, errors occurred!
See also "D:/GitHub/QtAwsIoT/build/CMakeFiles/CMakeOutput.log".

@chaosgrass Did you compile/install QtMqtt is per the prerequisites?