qtdeclarative/tests/auto/qml/qmlcppcodegen
Ulf Hermann 1b0a03639c QmlCompiler: Handle non-resettable undefined assignment
We need to generate an exception if undefined is assigned to a property
that can't be reset. We don't want to reject everything that can
potentially be undefined. Therefore, we use the QVariant fallback and
examine the value for undefined at run time.

Pick-to: 6.5 6.2
Change-Id: I0a034032f4522f017b452690d93319eb4bfedb1c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit afbf7b6990)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ed50111eeb)
2024-01-31 12:33:03 +01:00
..
data QmlCompiler: Handle non-resettable undefined assignment 2024-01-31 12:33:03 +01:00
CMakeLists.txt Controls: Use PlatformDialogHelper for enums in DialogButtonBox 2023-02-15 14:04:44 +01:00
tst_qmlcppcodegen.cpp QmlCompiler: Handle non-resettable undefined assignment 2024-01-31 12:33:03 +01:00