diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-02-27 17:09:19 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2024-06-12 09:37:04 +0200 |
commit | 845193aa61529962dd44ddd45c80b714fe3eda59 (patch) | |
tree | f2bd531e87ed0447bdb7e7edeed13cab360925d8 /tests/auto/quick/qquickwindow/data/visibilityDoesntClobberWindowState.qml | |
parent | bf0a7ae5a0ce9f72d8e5fcc74b0948edc8d1f26e (diff) |
Warn about unset required properties on composite singletons6.7
So far, we only checked for errors when creating the Component for the
singleton. However, the creation of the singleton should also fail when
some of its (or its subobjects) required properties are not set.
C++ singletons will be handled in a separate change.
[ChangeLog][Potentially Source-Incompatible Changes][QML] Instantiating
singletons with unset required properties will now fail and print a
warning instead of creating the singleton with the properties unset.
Task-number: QTBUG-122784
Pick-to: 6.5
Change-Id: I80c8b036cb839b4cc19683e181e2c08f29c2fab5
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 92b919aff75a6f8b9e2e4ca73b938a2a3810d031)
Diffstat (limited to 'tests/auto/quick/qquickwindow/data/visibilityDoesntClobberWindowState.qml')
0 files changed, 0 insertions, 0 deletions