NamesakeObject QML Type

Not a singleton, despite sharing its name with the C++ class NamesakeObject. More...

Import Statement: import Test
In C++: PlainObject

Detailed Description

The QML type name and C++ class names live in separate namespaces, so a QML type may share its name with an unrelated C++ class. The singleton attribute must be taken from the \nativetype (PlainObject, which is not a singleton), never from the same-named class NamesakeObject, which is one.