qmlcontextpropertydump
qmlcontextpropertydump scans a C++ source folder for potential context property definitions, and stores them in a format readable by qmllint and QML Language Server.
qmlcontextpropertydump is best used via the CMake API: qt_add_qml_module creates a global dump_qml_context_properties
target that invokes qmlcontextpropertydump
with the right arguments. Note that dump_qml_context_properties
does nothing when a dump file already exists. Use the clean_qml_context_properties
target to delete the context property dump. The context property dump file is located in the build folder at <build>/.qt/contextPropertyDump.ini
.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.