diff options
Diffstat (limited to 'tests/auto/qml/qmltc_qprocess/data/componentDefinitionInnerRequiredProperty.qml')
-rw-r--r-- | tests/auto/qml/qmltc_qprocess/data/componentDefinitionInnerRequiredProperty.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltc_qprocess/data/componentDefinitionInnerRequiredProperty.qml b/tests/auto/qml/qmltc_qprocess/data/componentDefinitionInnerRequiredProperty.qml new file mode 100644 index 0000000000..638cf9fa1e --- /dev/null +++ b/tests/auto/qml/qmltc_qprocess/data/componentDefinitionInnerRequiredProperty.qml @@ -0,0 +1,18 @@ +// Copyright (C) 2024 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +import QtQuick + +Item { + Component { + id: mycomp + + Item { + Rectangle { + // Inner required properties cannot be set so this + // should produce an error + required property bool bar + } + } + } +} |