C
--debug-rtti-information
Selects the level of runtime type information in the code generated by qmlprojectexporter
.
Description
This is an optional command-line option. The code generated by qmlprojectexporter
is optimized to achieve smallest possible binary size. As a consequence the information required to correctly identify the dynamic types of QUL items is not preserved which prevents debugging tools from recognizing the full type of items and some of their properties.
The amount of the runtime information in the code can be increased to allow correct recognition of QUL item types. The level can be "none"
which doesn't add any type information, "rootOnly"
to include type information only for the root items of QML types or "all"
to include type information for all generated QML types.
Usage
qmlprojectexporter --debug-rtti-information rootOnly --outdir output-dir my_project.qmlproject
Note: The additional runtime type information will make the resulting application binary slightly larger.
Since
This option was introduced in Qt for MCUs 2.11.
See also QUL_DEBUG_RTTI_INFORMATION.
Available under certain Qt licenses.
Find out more.