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

Support multiple versions for QML files when generating qmldir

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P1: Critical
    • None
    • None
    • Build System: CMake

    Description

      https://bugreports.qt.io/browse/QTBUG-86100?focusedCommentId=523665&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-523665

      [...] it should be enough to modify qt6_target_qml_files to iterate over the QT_QML_SOURCE_VERSION property, and use all the values to add content to the file_contents variable.

      This also implies having to special case add all the version values in the generated CMakeLists.txt file.

      Ideally though, pro2cmake would be changed as well to output multiple version values. Then you don't have to maintain a gazillion of special cases.

      Attachments

        Issue Links

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

          Activity

            People

              mitch_curtis Mitch Curtis
              mitch_curtis Mitch Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes