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

Consider disabling package version checks during a top-level Qt build

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Build System: CMake
    • None

    Description

      The issue QTBUG-97182 happened due to a mismatch in in package versions.
      qttools still had 6.2.0 in it's .cmake.conf, whereas qtwebengine had 6.2.1

      Webengine does

      find_package(Qt6 ${PROJECT_VERSION} CONFIG QUIET OPTIONAL_COMPONENTS Designer
      )
      

      so the Designer package would not be found because webengine's PROJECT_VERSION is 6.2.1.

      This let to an obscure error saying that

       The plug-in 'QWebEngineViewPlugin' does not belong to any Qt module.
      

      The plugin was added because the Designer target exists in a top-level build (qttools created all the targets), but the Designer Config file that is meant to provide info about module <-> plugin type associations was not found/executed.

      We should maybe consider disabling package version checks for top-level builds in the CI so that such inconsistency doesn't happen, at least until the version bumping bot and dependencies bot are fixed to work in sync.

      This feels iffy though, because in other cases you might want to catch version mismatch issues.
      We should also consider if we do it, whether we should do it for local top-level developer builds as well.

      And whether we should disable the version check entirely, or only skip the patch level check.

      All of this depends on QTBUG-96458 getting fixed first though.

      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
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes