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

syncqt is not found when building qt submodules using cmake >= 3.29

    XMLWordPrintable

Details

    • 2d19f09b5 (dev), cd93a8dc8 (6.7), a98390457 (tqtc/lts-6.5)

    Description

      CMake 3.29 doesn't generate the PACKAGE_PREFIX_DIR anymore in Config.cmake files, but configure-time syncqt still relies on PACKAGE_PREFIX_DIR in the Qt6CoreToolsAdditionalTargetInfo.cmake. We should replace the PACKAGE_PREFIX_DIR with the reverse calculated one.
      Steps to reproduce with CMake versions >= 3.29

      mkdir build_qtbase
      cd buid_qtbase
      path-to/qt6/qtbase/configure -developer-build -nomake tests -nomake examples
      ninja
      cd ..
      mkdir build_qt<module_name>
      cd  build_qt<module_name>
      ../build_qtbase/bin/qt-configure-module path-to/qt6/qt<module_name>
      

      Attachments

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

        Activity

          People

            semlanik Alexey Edelev
            semlanik Alexey Edelev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes