<< qml_importpathlist QML engine qml_loadstring >>

qml_loadfile


Load a QML file.


Syntax


h = qml_loadfile(filename)

Input argument


filename

a string: a QML filename.

Output argument


h

a QObject handle.

Description


Load a QML file

It creates a QML component and load .qml file.

See also


qml_loadstring.

Example


% see examples in [nelsonroot(), '/modules/qml_engine/examples']

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< qml_importpathlist QML engine qml_loadstring >>