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

Document that the QT_QML_SINGLETON_TYPE property needs to be set before the qt_add_qml_module call

    XMLWordPrintable

Details

    Description

      If the property is set after the qt_add_qml_module call, it's too late, and the qmldir file won't contain the relevant stanza, often confusing developers.

      We should document that the source file property needs to be set before the qt_add_qml_module call.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes