C

--resource-compiler

Path to rc.exe (for MSVC toolchain).

Description

When running qmlprojectexporter on Windows it may require the resource compiler (rc.exe) depending on the toolchain and the project's configuration. You can specify the path to rc.exe using the --resource-compiler option.

Depending on the installation options and the Windows kit version the path to the resource compiler is usually similar to the following:

"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.19041.0\\x64\\rc.exe"

Note: Using this option has no effect on operating systems other than Windows.

Usage

qmlprojectexporter --resource-compiler "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.19041.0\\x64\\rc.exe" --toolchain msvc --outdir output my_project.qmlproject

Since

This option was introduced in QmlProject API 1.3 .

See also --toolchain.

Available under certain Qt licenses.
Find out more.