Problem creating project in QT for MCUs
-
Hi everyone
I've been trying qt for MCUs on a free trial because the company i work for wants to check it out.
As of now, i'm not using any board, just trying to simulate on desktop (Kip= qt for MCUs 2.0- desktop 32bpp).if I run CMAKE without any changes after creating a project I get this message:
" Could not find a package configuration file provided by "Qul" with any of
the following names:QulConfig.cmake qul-config.cmake
Add the installation prefix of "Qul" to CMAKE_PREFIX_PATH or set "Qul_DIR"
to a directory containing one of the above files. If "Qul" provides a
separate development package or SDK, be sure it has been installed."After changing Cmake_prefix_path to the correct location, I get this one instead:
"CMake Warning at C:/Qt/QtMCUs/2.0.1/lib/cmake/Qul/QulConfig.cmake:70 (message):
File
C:/Qt/QtMCUs/2.0.1/lib/cmake/Qul/QulCoreTargets/QulCoreTargets_Windows-AMD64_gnu.cmake
does not exist.
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)"That file is nowhere to be found in my PC. Any help would be greatly appreciated.
Note that it runs ok if I run normal Qt or if I run Qt for MCUs with a MCU as target.
-
If this problem still persists it means your environment is not correct. We have seen this issue when the Qul build system can not locate the required desktop packages in QtMCU installation directory. Please refer to the documentation https://doc.qt.io/QtForMCUs-2.2/qtul-setup-development-host.html.