- Qt 6.11
- Qt Qml
- Qt Qml Tooling
- Qt 6.11.1 Reference Documentation

Profiling QML Applications ◦ Qt Quick Compiler

# Qt Qml Tooling

The Qt Qml module provides a range of tools and utilities that enhance the developer and designer experience and includes some internal tools used by Qt. The following sections offer a concise overview of these tools and utilities, along with links to additional information about each of them.

## Qt Quick Compiler

The Qt Quick Compiler processes QML and JavaScript code at compile time to improve application performance. It consists of two main components: the QML type compiler which generates C++ classes from QML types, and the QML script compiler which compiles bindings and functions to efficient byte code and C++. This results in faster application startup and more efficient execution of QML code.

## Deployment

Deploying QML Applications requires bundling all necessary QML files, JavaScript resources, plugins, and dependencies with your application. Qt provides tools and CMake functions to automate the deployment process, ensuring that all required QML imports and their dependencies are correctly identified and packaged. This includes handling platform-specific requirements for distributing QML modules and plugins.

## Developer tools

A set of tools provided by the Qt Qml module that aim to facilitate a QML developer's life during various phases of development. These tools are:

QML Language Server | A tool that helps you write code in your favorite LSP-supporting editor.
qmlcontextpropertydump | A tool that searches for context property definitions in C++ code.
qmlformat | A tool that automatically formats QML files according to QML coding convention.
qmllint | A tool for verifying the syntax of QML files and warning about anti-patterns.
qmlprofiler | A tool that retrieves QML tracing data from your application.

## Designer tools

The Qt Qml module also provides user facing tools which can increase the productivity of designers by helping them with fast prototyping. These tools are:

qml | A tool that loads QML documents and creates a window to show the scene if your QML document includes a visual item.
qmlpreview | A tool that provides a live updating preview for the QML files.
svgtoqml | A tool that converts an SVG document to a QML file.

## Internal tools

Certain utility tools are not intended for direct user interaction. Instead, they are all meant to be invoked by the build system, augmenting its functionality and capabilities.

QML script compiler | A tool to compile functions and expressions in QML.
QML type compiler | A tool to compile QML types to C++ ahead of time.
qmlcachegen | A tool to compile QML documents ahead of time.
qmlimportscanner | A tool that scans QML files inside the directory for QML import dependencies.
qmltyperegistrar | A tool that registers C++ classes to make them available from QML.

## All Qml tools

QML Language Server | A tool that helps you write code in your favorite LSP-supporting editor.
QML script compiler | A tool to compile functions and expressions in QML.
QML type compiler | A tool to compile QML types to C++ ahead of time.
qml | A tool that loads QML documents and creates a window to show the scene if your QML document includes a visual item.
qmlcachegen | A tool to compile QML documents ahead of time.
qmlcontextpropertydump | A tool that searches for context property definitions in C++ code.
qmlformat | A tool that automatically formats QML files according to QML coding convention.
qmlimportscanner | A tool that scans QML files inside the directory for QML import dependencies.
qmllint | A tool for verifying the syntax of QML files and warning about anti-patterns.
qmlpreview | A tool that provides a live updating preview for the QML files.
qmlprofiler | A tool that retrieves QML tracing data from your application.
qmltyperegistrar | A tool that registers C++ classes to make them available from QML.
svgtoqml | A tool that converts an SVG document to a QML file.

Profiling QML Applications ◦ Qt Quick Compiler