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

Code example of qmlRegisterSingletonType has a syntax error

    XMLWordPrintable

Details

    Description

      In the documentation section of qmlRegisterSingletonType:

      http://qt-project.org/doc/qt-5.0/qtqml/qqmlengine.html#qmlRegisterSingletonType

      The code example has a syntax error: the signature of the callback function example_qjsvalue_singletontype_provider declares a QJSValue* as return type, where it should be a QJSValue.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            lmancini Lorenzo Mancini
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes