Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.2
-
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.