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

Googletest is being downloaded even with tests disabled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 6.0.1
    • Qt Creator 6.0.0-rc1
    • Building Qt Creator
    • None
    • Flatpak
    • 2e42c99522537bc3102aeff4f01671c0234c11b8 (qt-creator/qt-creator/6.0) bcc0160ea5 (qt-creator/qt-creator/qmlprojectstorage)

    Description

      In the configure stage of CMake builds when the googletest submodule is initialized for some reason CMake will attempt to download a release of googletest and populate its folder. This also happens with the `WITH_TESTS` and/or `BUILD_TESTS_BY_DEFAULT` set to `OFF`.
      It is causing issues with building QT Creator in the flatpak builder sandbox as it cannot connect to the internet.
      This does not happen with version 5.

      See https://flathub.org/builds/#/builders/32/builds/68315

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-26626
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            4c0n Youri Westerman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes