qml_addimportpath

Adds path as directory where the qml engine searches for installed modules.

Syntax

  • qml_addimportpath(path)

Input argument

  • path - a string : valid path.

Description

qml_addimportpath adds path as a directory where the engine searches for installed modules in a URL-based directory structure.

The newly added path will be first in qml_importpathlist.

Example

qml_importpathlist()
qml_addimportpath(tempdir)
qml_importpathlist()

See also

qml_importpathlist.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated