Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.0, 6.6.1
-
None
-
-
ead408ca1 (dev), 85e7b700d (6.6), 301705b80 (tqtc/lts-6.5)
Description
Model adapters/replicas doesn't work across different Qt versions / platforms, resulting in crashes due to unknown QVariant types and then failing to parse the data stream.
The issue is these types:
qRegisterMetaType<QtPrivate::ModelIndex>(); qRegisterMetaType<QtPrivate::IndexList>(); qRegisterMetaType<QtPrivate::DataEntries>(); qRegisterMetaType<QtPrivate::MetaAndDataEntries>();
Sometimes they get registered without the namespace (eg. "ModelIndex" instead of "QtPrivate::ModelIndex").
Currently on Qt 6.6.1 on Linux (gcc) they register without namespace, but on macOS (clang) they register with namespace.
Attachments
For Gerrit Dashboard: QTBUG-119650 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
524148,1 | QMetaType: fix typenameHelper() for types in the QtPrivate namespace | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: NEW | 0 | 0 |