diff options
author | Robert Griebl <robert.griebl@qt.io> | 2024-03-18 01:51:34 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@qt.io> | 2024-03-18 16:56:39 +0100 |
commit | 7295ea86053e1f64fd6895a5630521453a986808 (patch) | |
tree | 5590271125a04e89ff15ef25280cf6f894c16830 /src/window-lib/window.cpp | |
parent | 0453fe6a3f2b478e91769e3207cd00a68e3cea8e (diff) |
QVariants from QML often have QJSValues, which cannot be serialized
Using anything more complex than a plain string or int for window
properties stopped working with Qt 6, as those QJSValues cannot be
serialized via QDataStream << anymore.
Most QJSValues inside QVariant however can easily be converted to C++
datatypes inside QVariant, so we do that.
Change-Id: Iacbc4331d1b5dee514b421db274288df7224f902
Pick-to: 6.7 6.6 6.5
Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
Diffstat (limited to 'src/window-lib/window.cpp')
0 files changed, 0 insertions, 0 deletions