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

Qt 6: Do not build tests and examples by default

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      In Qt 5 and current CMake based Qt 6, examples are built by default on most platforms (except ios and android). tests are built by default for a developer-build.

      I suggest to change the default to never build examples and tests by default:

      • Both take significant time to build
      • Building all examples is mostly useful to see whether they actually compile. This can be nowadays catched by the CI
      • Building autotests is useful for developers, but they typically want to build only some of them. Building and running all of them is again a job for the CI

        Attachments

        For Gerrit Dashboard: QTBUG-84471
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kkohne Kai Köhne
            Reporter:
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes