C
InterfaceFiles.directory
Description
This node can be used to add a directory containing the C++ interface files. The given directory is scanned for C++ header files, which are made available to the QML sources. If the interface files are spread across more than one directory, list each directory separately using an InterfaceFiles node.
Note: The directory node can be combined with the files node in a InferfaceFiles node. This property might be removed from future releases. Prefer explicit inclusion of files using the files property.
Warning: Interfaces placed in subdirectories are not included.
Usage
This property is accepted in any context where its parent node is accepted. It takes a string.
Code example:
InterfaceFiles {
directory: "."
}Since
This property was introduced in QmlProject API 1.3 .
Available under certain Qt licenses.
Find out more.