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

Unable to load project, incorrect cmake used when scanning

    XMLWordPrintable

Details

    Description

      When trying to load any qt6 project, Creator fails to finish scanning the project with a CMake error.

      The project was configured only with qt6.0.0 Beta1 MSVC2019 and MinGW on Windows 10.

      CMAKE in system PATH: cmake-3.19.0-rc1-win64-x64

      The "General Messages" tab shows:

       

      Performing API discovery ...
      Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
      Could not read qmake configuration file C:/Qt/5.15.1/android/mkspecs/android-clang/qmake.conf.
      Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
      Could not read qmake configuration file C:/Qt/6.0.0/android_arm64_v8a/mkspecs/android-clang/qmake.conf.
      Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
      Could not read qmake configuration file C:/Qt/6.0.0/android_armv7/mkspecs/android-clang/qmake.conf.
      Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
      Could not read qmake configuration file C:/Qt/6.0.0/android_x86/mkspecs/android-clang/qmake.conf.
      Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.
      Could not read qmake configuration file C:/Qt/6.0.0/android_x86_64/mkspecs/android-clang/qmake.conf.
      Checking for license updates ...
      Checking for updated license succeeded (3 licenses fetched)
      Running C:\Qt\5.12.8\Boot2Qt\jetson-tx2\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\cmake.exe -S C:/Qt/Examples/Qt-6.0.0/widgets/touch/fingerpaint -B C:/Users/dasmith/AppData/Local/Temp/QtCreator-LtkyUC/qtc-cmake-bJwvLzEo "-DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/6.0.0/mingw81_64/bin/qmake.exe" "-DCMAKE_PREFIX_PATH:STRING=C:/Qt/6.0.0/mingw81_64" "-DCMAKE_C_COMPILER:STRING=C:/Qt/Tools/mingw810_64/bin/gcc.exe" "-DCMAKE_CXX_COMPILER:STRING=C:/Qt/Tools/mingw810_64/bin/g++.exe" "-DCMAKE_BUILD_TYPE:STRING=Debug" "-DCMAKE_CXX_COMPILER:STRING=C:/Qt/Tools/mingw810_64/bin/g++.exe" "-DCMAKE_C_COMPILER:STRING=C:/Qt/Tools/mingw810_64/bin/gcc.exe" "-DCMAKE_PREFIX_PATH:STRING=C:/Qt/6.0.0/mingw81_64" "-DQT_QMAKE_EXECUTABLE:STRING=C:/Qt/6.0.0/mingw81_64/bin/qmake.exe" in C:\Users\dasmith\AppData\Local\Temp\QtCreator-LtkyUC\qtc-cmake-bJwvLzEo.
      CMake Error: The source directory "C:/Users/dasmith/AppData/Local/Temp/QtCreator-LtkyUC/qtc-cmake-bJwvLzEo" 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.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel.smith Daniel Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: