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

CMake projects fail to parse

    XMLWordPrintable

Details

    • Android, Linux/X11

    Description

      When opening a CMake project on Android and Desktop the parsing fails with error

      Running /usr/bin/cmake -S /home/assam/qt_projects/cmake_test -B /tmp/QtCreator-QMGGNq/qtc-cmake-dJpHTERR -DCMAKE_BUILD_TYPE:String=Debug -DQT_QMAKE_EXECUTABLE:STRING=/home/assam/Qt/5.15.0/gcc_64/bin/qmake -DCMAKE_PREFIX_PATH:STRING=/home/assam/Qt/5.15.0/gcc_64 -DCMAKE_C_COMPILER:STRING=/usr/bin/gcc -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++ in /tmp/QtCreator-QMGGNq/qtc-cmake-dJpHTERR.
      CMake Error: The source directory "/tmp/QtCreator-QMGGNq/qtc-cmake-dJpHTERR" does not appear to contain CMakeLists.txt.
      Specify --help for usage, or press the help button on the CMake GUI.
      CMake process exited with exit code 1.
      Elapsed time: 00:00.
      

      So the parsing fails, project settings table view is empty and it's not possible to build or run anything.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            assam Assam Boudjelthia
            Tino Pyssysalo Tino Pyssysalo
            Kai Köhne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes