C

--include-dirs

Comma-separated list of include dirs.

Description

After defining the interfaces for C++ code that need to be available in Qml using InterfaceFiles, You need to specify the header files used by those interfaces using the --include-dirs option.

Usage

qmlprojectexporter --include-dirs "path/to/include_dir_1,path/to/include_dir_2" --outdir output-dir my_project.qmlproject

Since

This option was introduced in QmlProject API 1.3 .

See also InterfaceFiles, Project.importPaths, and --outdir.

Available under certain Qt licenses.
Find out more.