diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2020-06-04 16:30:00 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2020-06-08 12:24:14 +0000 |
commit | 316a120f37982db9f3062ac1e094d92da4e356d7 (patch) | |
tree | 6c32d882cbf454b5704cd1dd72a29e16c233f293 /src/quick | |
parent | 0c8e51705ac0bb86c4b123ecd30a11b41fd50b24 (diff) |
Make Binding restoreMode qmlWarning follow a logging category
Binding{} emits a warning if restoreMode is not specified
Unfortunately that syntax is only available in Qt >= 5.14.
Projects need to support Qt 5.15 and also older (5.12), which means we have code constantly hitting
this warning. We can't even #ifdef the QML code.
By introducing a logging category we can still have the warning but
provides some option for downstream to temporarily disable through an
existing mechanism until older Qt is not supported.
Change-Id: I47190b7216b776d9db6fbece63332e993fce7203
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick')
0 files changed, 0 insertions, 0 deletions