Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.5.1, 5.6.0 Beta
-
None
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.