The maximum number of parallel processes.


When generating C++ files from QML source files, qmlprojectexporter can run qmltocpp in multiple parallel processes. This command-line option specifies the maximum number of processes qmlprojectexporter will spawn at a time.

This command-line argument only accepts positive integers. When this option is not given, qmlprojectexporter will not run parallel processes in 2.8 and older.

Short option: -j


// This will export QML files in maximum 4 parallel processes
qmlprojectexporter my_project.qmlproject --parallel 4


This option was introduced in Qt for MCUs 2.5.4, Qt for MCUs 2.7.1, and Qt for MCUs 2.8.0.

See also qmlprojectexporter.

Available under certain Qt licenses.
Find out more.