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

Delay processing of QT_QML_SINGLETON_TYPE with cmake DEFER CALL when possible

    XMLWordPrintable

Details

    Description

      Currently qt_add_qml_module / qt_target_qml_sources expect the QT_QML_SINGLETON_TYPE source file property to be set before the functions are called.

      We could try and improve that by querying the source file property just before the qmldir file is generated instead.

      Alternatively we could introduce a new QML_SINGLETONS option that takes a list of qml files that implement singletons, which would be used instead of QML_FILES + QT_QML_SINGLETON_TYPE source file property.

      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