Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-6817

Unable to configure QDS washing machine demo with Qt for MCUs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • QDS 3.3
    • QDS 3.2
    • MCU support
    • 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.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            algerman Aleksei German
            omrahate omrahate
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes