KurtPattyn / QtAwsIoT

Qt library for accessing AWS IoT
MIT License
13 stars 5 forks source link

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

Open chaosgrass opened 6 years ago

chaosgrass commented 6 years ago

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".

KurtPattyn commented 6 years ago

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