QML Plugin Example▲

To run this example, use the following commands on the prompt:
Using CMake▲
Sélectionnez
cmake -
DCMAKE_PREFIX_PATH=
path/
to/
Qt/
6.4.0
/
your_platform -
S &
lt;source-
dir&
gt; -
B &
lt;build-
dir&
gt; -
G Ninja
cd path/
to/
build/
dir
ninja
qml -
I import
s plugins.qml
For more information about building on the command line using CMake, see Building projects on the command line.
Using qmake▲
Sélectionnez
qmake
make
qml -
I import
s plugins.qml