vircadia / vircadia-native-core

Vircadia open source agent-based metaverse ecosystem.
https://vircadia.com/
Other
533 stars 174 forks source link

Qt JSON binary format is deprecated, needs replacing with CBOR #1304

Open daleglass opened 3 years ago

daleglass commented 3 years ago

‘static QJsonDocument QJsonDocument::fromBinaryData(const QByteArray&, QJsonDocument::DataValidation)’ is deprecated: Use CBOR format instead [-Wdeprecated-declarations]

Replacing this probably makes the data incompatible on a binary level, which means either wiping whatever data was stored, or adding conversion code.

Referenced in MyAvatar, AvatarBookmarks, AvatarData, EntityItemProperties, NodeList, OctreeQuery, Clip, PointerClip, Config

https://en.wikipedia.org/wiki/CBOR

ctrlaltdavid commented 3 years ago

https://doc.qt.io/qt-5/qjsondocument-obsolete.html

daleglass commented 2 years ago

Related to #1190

stale[bot] commented 2 years ago

Hello! Is this still an issue?