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

Make it possible to build newer Qt modules against older Qt

    XMLWordPrintable

Details

    • All
    • 5ffc744b791a114a3180a425dd26e298f7399955 (qt/qtbase/dev) dbe45e226b5af12862baa62a1cc1e907c6e2fdbf (qt/qtbase/6.2) dfbf479e2c3a335767993f5010c36fa81f42b1e2 (qt/qtdeclarative/dev) 456b39d0b3928f993f75314dc75b7200024322dc (qt/qtdeclarative/6.2)

    Description

      It's currently not possible to build Qt 6.3 modules against Qt 6.2.

      Attempting this results in errors like

      agent:2021/09/14 07:23:42 build.go:391: CMake Error at CMakeLists.txt:13 (find_package):
      agent:2021/09/14 07:23:42 build.go:391:   Could not find a configuration file for package "Qt6" that is compatible
      agent:2021/09/14 07:23:42 build.go:391:   with requested version "6.3.0".
      agent:2021/09/14 07:23:42 build.go:391:   The following configuration files were considered but not accepted:
      agent:2021/09/14 07:23:42 build.go:391:     /Users/qt/work/install/lib/cmake/Qt6/Qt6Config.cmake, version: 6.2.0
      

      This version restriction makes bumping the version numbers of Qt repositories needlessly cumbersome: the repositories have to be updated in topologically sorted order.

      Also, at some point we certainly want to support building a newer QtWebEngine (and potentially other modules) against an older Qt.

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              jbornema Joerg Bornemann
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes