A QML Namespace is a special kind of type that only exposes enumerations and cannot be instantiated. A namespace can only be declared in C++, using the QML_ELEMENT or QML_NAMED_ELEMENT macro inside a C++ namespace marked with Q_NAMESPACE .
QML namespaces can be used to extract enumerations from other types.