qt5base-lts/qmake
Giuseppe D'Angelo 04f2acf93a qtpaths: generate proper JSON
The "manual" generation left a trailing comma in the object definition.
This is illegal, as per RFC 8259:

      object = begin-object [ member *( value-separator member ) ]
               end-object

Hence, the resulting JSON does not get accepted by any parser.

Let's just not do that and use QJsonDocument.

Change-Id: I882486e55f66c52d142638f37584088091bbc123
Pick-to: 6.2 6.5 6.6
Fixes: QTBUG-115124
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
2023-07-08 10:50:41 +02:00
..
doc Doc: Document QMAKE_APPLE_DEVICE_ARCHS 2023-06-27 18:36:06 +02:00
generators qmake: Don't add dummy empty.lproj localization to macOS bundles 2023-04-20 20:11:02 +02:00
library Remove unused code in qmake, triggering -Wunused-but-set-variable 2023-04-05 19:36:55 +02:00
cachekeys.h Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
CMakeLists.txt Re-fix QtLibraryInfo compilation issues 2023-06-09 14:45:14 +00:00
main.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
meta.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
meta.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
option.cpp Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
option.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
project.cpp Port from qAsConst() to std::as_const() 2022-10-11 23:17:18 +02:00
project.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
property.cpp Make qmake and qtpaths report Qt version baked into the binaries 2023-01-18 13:21:05 +01:00
property.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
propertyprinter.cpp qtpaths: generate proper JSON 2023-07-08 10:50:41 +02:00
propertyprinter.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmake_pch.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qmakelibraryinfo.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qmakelibraryinfo.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00