Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88266

[REG v6.0.0-beta3 -> dev] cmake-based configure no longer configures autotests when -developer-build is specified

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 6.0.0 RC
    • 6.0.0 Beta4
    • Build System: CMake
    • None
    • Linux/X11

    Description

      Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.

      Running "configure -opensource -developer-build" does not configure autotests to be built. This is a regression from the qmake-based configure which has always included autotests in a developer build since day zero.

      $ git clone git://code.qt.io/qt/qt5.git
      ...
      $ cd qt5
      $ perl init-repository -f
      ...
      $ ./configure -opensource -developer-build
      ...
      Qt is now configured for building. Just run 'cmake --build . --parallel'
      ...
      $ cd qtbase/tests/auto
      $ cmake --build .
      Error: could not load cache
      $
      

      The configure help still says that it will build tests (the text in square brackets is supposed to represent configure's default behaviour):

      $ ./configure -help
      ...
         -make <part> ......... Add <part> to the list of parts to be built.
                               Specifying this option clears the default list first.
                               [libs and examples, also tools if not cross-building,
                               also tests if -developer-build]

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              macadder Jason McDonald
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes