diff options
author | Sami Shalayel <sami.shalayel@qt.io> | 2022-11-24 14:03:44 +0100 |
---|---|---|
committer | Sami Shalayel <sami.shalayel@qt.io> | 2023-02-02 10:24:37 +0100 |
commit | e4e20fabfe5cbee890b91cf6cc35ceb57ce3fe43 (patch) | |
tree | bc4e70cf2f7fa67cd3734648f258220425cc1137 /tests/auto/qml/qmltc_qprocess | |
parent | b641eaebfa9888d80b96e4e7adc610fe4ceb86a1 (diff) |
add QML_UNCREATABLE in the tests
Add the QML_UNCREATABLE macros in the tests where it is missing.
Change-Id: I58ef5a27e15f0bb99bc94bf819b38aaad3358432
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'tests/auto/qml/qmltc_qprocess')
-rw-r--r-- | tests/auto/qml/qmltc_qprocess/cpptypes/testtype.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltc_qprocess/cpptypes/testtype.h b/tests/auto/qml/qmltc_qprocess/cpptypes/testtype.h index 2130004def..81c5f00c84 100644 --- a/tests/auto/qml/qmltc_qprocess/cpptypes/testtype.h +++ b/tests/auto/qml/qmltc_qprocess/cpptypes/testtype.h @@ -33,6 +33,7 @@ class NoDefaultConstructorType : public QObject { Q_OBJECT QML_ELEMENT + QML_UNCREATABLE("") NoDefaultConstructorType() = delete; }; |