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

Support multiple versions for QML files when generating qmldir

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes