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

Missing include for qmlRegisterSingletonType

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.1.0 Beta 1
    • 5.0.2
    • Documentation
    • None
    • Windows
    • f012ddd23226808a459104d14654e9e25f749cb7 (qtdeclarative)

    Description

      The documentation should indicate that QtQml needs to be included in order to use the qmlRegisterSingletonType function.
      http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#qmlRegisterSingletonType
      http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#qmlRegisterSingletonType-2

      There are other register functions that already state that the include is needed.

      Attachments

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

        Activity

          People

            treinio Topi Reiniƶ
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes