summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2023-02-01 13:19:08 +0100
committerUlf Hermann <ulf.hermann@qt.io>2023-02-02 05:43:25 +0100
commit54cec1bb412b4d86f4c21c4df42a222ecd2aeaf1 (patch)
tree9a864cedecff7c78e7adc0088cc12bc443f63812
parent7614bfa72064f19653386dbc6de034209f4a3cfc (diff)
Drop QML_UNCREATABLE macros from namespaces
Namespaces are always uncreatable. Pick-to: 6.5 Fixes: QTBUG-110837 Change-Id: I9382acc5fefba1b17a1490aa0f53437f0a5c8608 Reviewed-by: Semih Yavuz <semih.yavuz@qt.io> Reviewed-by: Frank Meerkoetter <frank.meerkoetter@basyskom.com>
-rw-r--r--src/declarative_opcua/opcuaforeign_p.h2
-rw-r--r--src/declarative_opcua/opcuastatus_p.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/declarative_opcua/opcuaforeign_p.h b/src/declarative_opcua/opcuaforeign_p.h
index 2c968a5..e85c8e4 100644
--- a/src/declarative_opcua/opcuaforeign_p.h
+++ b/src/declarative_opcua/opcuaforeign_p.h
@@ -39,7 +39,6 @@ namespace QOpcUaApplicationDescriptionForeign
Q_NAMESPACE
QML_FOREIGN_NAMESPACE(QOpcUaApplicationDescription)
QML_NAMED_ELEMENT(ApplicationDescription)
- QML_UNCREATABLE("This type can not be created.")
QML_ADDED_IN_VERSION(5, 13)
};
@@ -48,7 +47,6 @@ namespace QOpcUaUserTokenPolicyForeign
Q_NAMESPACE
QML_FOREIGN_NAMESPACE(QOpcUaUserTokenPolicy)
QML_NAMED_ELEMENT(UserTokenPolicy)
- QML_UNCREATABLE("This type can not be created.")
QML_ADDED_IN_VERSION(5, 13)
};
diff --git a/src/declarative_opcua/opcuastatus_p.h b/src/declarative_opcua/opcuastatus_p.h
index 5f9ee14..e686beb 100644
--- a/src/declarative_opcua/opcuastatus_p.h
+++ b/src/declarative_opcua/opcuastatus_p.h
@@ -289,7 +289,6 @@ namespace OpcuaStatusForeign
QML_FOREIGN_NAMESPACE(OpcUaStatus)
QML_NAMED_ELEMENT(Status)
QML_ADDED_IN_VERSION(5, 13)
- QML_UNCREATABLE("This type can not be created.")
};
QT_END_NAMESPACE