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

Can't open CMake auto test in Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.13.2
    • Ubuntu 20.04.1

    Description

      I'm trying to open https://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/tests/auto/controls/basic/CMakeLists.txt?id=ce11c70fbbb46505d52541f7bfddec81cdcf9432 in Creator, but get this message:

      -- Configuring incomplete, errors occurred!
      See also "/home/mitch/dev/qt-dev/qtquickcontrols2/tests/auto/controls/basic-qt_dev_debug_no_asan-Debug/CMakeFiles/CMakeOutput.log".
      CMake Error at CMakeLists.txt:13 (qt_internal_add_test):
        Unknown CMake command "qt_internal_add_test".
      

      I configured Qt (dev, qtbase is at 66c94b83565d2db79307124b6cd797da33a5a7ef) with these options:

      -cmake
      -debug
      -developer-build
      -nomake
      tests
      -nomake
      examples
      

      I don't know if it has anything to do with it, but Creator tries to build the example in the sources:

      /home/mitch/dev/qt-dev/qtquickcontrols2/tests/auto/controls/basic/../basic-qt_dev_debug_no_asan-Debug
      

      I tried making a directory for it in the build directory and switching to that, and then re-running CMake, but I get the same message.

      Attachments

        Issue Links

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

          Activity

            People

              kkohne Kai Köhne
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes