qtdeclarative/tools
Ulf Hermann d158c61cef Improve string handling in qmltyperegistrar
Use QLatin1StringView for all the constants and define them in one
place. Parse the Json into Cbor in order to be able to retrieve UTF-8
data from it. Avoid conversion to QString wherever possible.

We could further improve QQmlJSStreamWriter to avoid temporary
allocations. Add some TODOs to this effect.

This change shows some API gaps in our various string view classes. To
work around them, we need our own QAnyStringViewUtils.

Change-Id: I41054a5057102d29e1db9e66a5998569d97382f9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
2023-06-30 10:47:17 +02:00
..
qml qml tool: Use QCommandLineParser::process() rather than parse() 2023-05-16 11:48:14 +02:00
qmlcachegen qmlcachegen: Add a --verbose command line option 2023-04-24 22:22:13 +02:00
qmldom Remove DomItem::loadFile code-duplication and use correct environments 2023-03-29 19:07:25 +02:00
qmleasing Remove Qt keywords from all headers 2022-12-09 11:55:10 +08:00
qmlformat Remove DomItem::loadFile code-duplication and use correct environments 2023-03-29 19:07:25 +02:00
qmlimportscanner Port from container::count() and length() to size() - V5 2022-10-13 00:18:35 +02:00
qmljs qmljs: Port to QCommandLineParser 2023-06-30 10:47:17 +02:00
qmljsrootgen Port to new Q_UNREACHABLE_RETURN() 2022-10-20 23:59:33 +02:00
qmllint QQmlSA: Create an abstraction layer for static analysis 2023-05-30 13:42:35 +02:00
qmlls qmlls: fix the order in which the build directory is obtained 2023-06-23 09:03:27 +02:00
qmlplugindump Improve string handling in qmltyperegistrar 2023-06-30 10:47:17 +02:00
qmlpreview Remove Qt keywords from all headers 2022-12-09 11:55:10 +08:00
qmlprofiler Remove Qt keywords from all headers 2022-12-09 11:55:10 +08:00
qmlscene Port to new Q_UNREACHABLE_RETURN() 2022-10-20 23:59:33 +02:00
qmltc qmltc: remove useless std::move detected by code checker 2023-06-12 08:43:25 +02:00
qmltestrunner Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qmltime Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-09-07 17:01:30 +02:00
qmltyperegistrar qmltyperegistrar: Improve the file open error message 2023-05-17 15:12:21 +02:00
CMakeLists.txt qmlls: fix the order in which the build directory is obtained 2023-06-23 09:03:27 +02:00