Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-27237

Empty CMake configuration item

    XMLWordPrintable

Details

    • 1833bf285e00bf4282e0d1e9ca685f316eb9c524 a2a8f56b6e (qt-creator/qt-creator/qds-3.3)

    Description

      The Initial Configuration for CMake projects hae empty item that causes cmake to error:

      Running docker://boot2qt-imx8qm-mek:6.4.0/opt/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/cmake -S /home/sapiippo/Qt/Examples/Qt-6.3.0/demos/coffee -B /home/sapiippo/Qt/Examples/Qt-6.3.0/demos/build-coffee-Boot2Qt_6_4_0_NXP_i_MX_8QuadMax_MEK_Docker-Debug -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/sapiippo/Qt/Tools/QtCreator/share/qtcreator/package-manager/auto-setup.cmake -D -DCMAKE_C_COMPILER_TARGET:STRING=aarch64-poky-linux -DCMAKE_CXX_COMPILER_TARGET:STRING=docker://boot2qt-imx8qm-mek:6.4.0/home/sapiippo/Qt/Examples/Qt-6.3.0/demos/build-coffee-Boot2Qt_6_4_0_NXP_i_MX_8QuadMax_MEK_Docker-Debugaarch64-poky-linux -DCMAKE_CXX_COMPILER:STRING=/opt/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DCMAKE_C_COMPILER:STRING=/opt/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc -DCMAKE_PREFIX_PATH:STRING=/opt/toolchain/sysroots/cortexa72-cortexa53-crypto-poky-linux/usr -DQT_QMAKE_EXECUTABLE:STRING=/opt/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/qmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=/opt/toolchain/sysroots/x86_64-pokysdk-linux/usr/lib/cmake/Qt6/qt.toolchain.cmake -DCMAKE_MAKE_PROGRAM:FILEPATH=/opt/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/ninja in %2.
      CMake Error: -D must be followed with VAR=VALUE.
      CMake Error: Run 'cmake --help' for all supported options.
      CMake process exited with exit code 1.
       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-27237
          # Subject Branch Project Status CR V

          Activity

            People

              cadam Cristian Adam
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes