aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypenotavailable_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmltypenotavailable_p.h')
-rw-r--r--src/qml/qml/qqmltypenotavailable_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/qml/qqmltypenotavailable_p.h b/src/qml/qml/qqmltypenotavailable_p.h
index 33630bf507..8db5876b10 100644
--- a/src/qml/qml/qqmltypenotavailable_p.h
+++ b/src/qml/qml/qqmltypenotavailable_p.h
@@ -58,6 +58,9 @@ QT_BEGIN_NAMESPACE
class QQmlTypeNotAvailable : public QObject {
Q_OBJECT
+ QML_NAMED_ELEMENT(TypeNotAvailable)
+ QML_UNCREATABLE("Type not available.")
+
public:
QQmlTypeNotAvailable();
};