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

Googletest is being downloaded even with tests disabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 6.0.0-rc1
    • Fix Version/s: Qt Creator 6.0.1
    • Component/s: Building Qt Creator
    • Labels:
      None
    • Environment:
      Flatpak
    • Commits:
      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

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

          Activity

            People

            Assignee:
            con Eike Ziller
            Reporter:
            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