Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
QDS 3.2
-
None
-
QDS Berlin - 2022 Week 17/18
Description
When tried to open the QDS washing machine demo in Qt Creator using the Qt for MCUs desktop kit getting the following CMake configuration error.
Running C:\QtEval\Tools\CMake_64\bin\cmake.exe -S C:/Users/Dell/Documents/QtDesignStudio/washingMachineUI -B C:/Users/Dell/Documents/QtDesignStudio/build-washingMachineUI-Qt_for_MCUs_2_1_Desktop_32bpp-Debug in C:\Users\Dell\Documents\QtDesignStudio\build-washingMachineUI-Qt_for_MCUs_2_1_Desktop_32bpp-Debug. -- CMake version 3.21.1 -- Loading board defaults C:/QtEval/QtMCUs/2.1.1/lib/cmake/Qul/../../../platform/boards/qt/qt/cmake/BoardDefaults.cmake -- OS: BareMetal -- IPO is disabled for desktop backends -- Using imported architecture configuration. Ignoring architecture.cmake file. CMake Error at CMakeLists.txt:28 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "washingMachineUI". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * C:/QtEval/QtMCUs/2.1.1/lib/cmake/Qul/QulMacros.cmake:1484 (target_link_libraries) * C:/QtEval/QtMCUs/2.1.1/lib/cmake/Qul/QulMacros.cmake:1505 (target_link_libraries) * C:/QtEval/QtMCUs/2.1.1/lib/cmake/Qul/QulMacros.cmake:1506 (target_link_libraries) * C:/QtEval/QtMCUs/2.1.1/lib/cmake/Qul/QulMacros.cmake:1507 (target_link_libraries) * C:/QtEval/QtMCUs/2.1.1/lib/cmake/Qul/QulMacros.cmake:1508 (target_link_libraries) * C:/QtEval/QtMCUs/2.1.1/lib/cmake/Qul/QulMacros.cmake:1510 (target_link_libraries)-- Configuring incomplete, errors occurred! See also "C:/Users/Dell/Documents/QtDesignStudio/build-washingMachineUI-Qt_for_MCUs_2_1_Desktop_32bpp-Debug/CMakeFiles/CMakeOutput.log". See also "C:/Users/Dell/Documents/QtDesignStudio/build-washingMachineUI-Qt_for_MCUs_2_1_Desktop_32bpp-Debug/CMakeFiles/CMakeError.log". CMake Error at CMakeLists.txt:33 (app_target_default_main): Unknown CMake command "app_target_default_main". CMake process exited with exit code 1.