summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qjsonarray.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-12-29 21:34:30 -0300
committerThiago Macieira <thiago.macieira@intel.com>2025-01-17 16:45:58 -0800
commit029bb47e12d63e186663714c3776d3654285496b (patch)
treeb9d48c3563d690b91cd7f723bee0633a617c9bc7 /src/corelib/serialization/qjsonarray.cpp
parent9d35561f6f6be125369e6020ce95a73b4aa6b51f (diff)
QJson: Remove QT_JSON_READONLY
moc (and thus the bootstrap library) has needed JSON output since Qt 5.15 (commit da284ef10e0ef80776b9fc9b7bb0e6dc8d71ba63 "Add support for machine-readable JSON output to the MOC"). Pick-to: 6.9 Change-Id: I4b8cf51c092eb35cc383fffd48d120f0cb2c56b0 Reviewed-by: Ahmad Samir <a.samirh78@gmail.com> Reviewed-by: Johannes Grunenberg <nerixdev@outlook.de>
Diffstat (limited to 'src/corelib/serialization/qjsonarray.cpp')
-rw-r--r--src/corelib/serialization/qjsonarray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/serialization/qjsonarray.cpp b/src/corelib/serialization/qjsonarray.cpp
index d839c5cd950..402076eb814 100644
--- a/src/corelib/serialization/qjsonarray.cpp
+++ b/src/corelib/serialization/qjsonarray.cpp
@@ -1073,7 +1073,7 @@ size_t qHash(const QJsonArray &array, size_t seed)
return qHashRange(array.begin(), array.end(), seed);
}
-#if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_JSON_READONLY)
+#if !defined(QT_NO_DEBUG_STREAM)
QDebug operator<<(QDebug dbg, const QJsonArray &a)
{
QDebugStateSaver saver(dbg);