C

qul_add_target

Creates a Qt Quick Ultralite application target and links to the Qt Quick Ultralite libraries.

Synopsis

qul_add_target(<name>
               [source1] [source2 ...])

Description

Creates a Qt Quick Ultralite application target and automatically links it to the Qt Quick Ultralite Core library and the Qt Quick Ultralite Platform library.

Note: qul_add_target replaces add_executable in all Qt Quick Ultralite demos and examples. It is recommended to use it in all new projects that are built against Qt for MCUs version 1.7 and later.

Examples

qul_add_target(example_app)
qul_add_target(example_app
               source1.cpp
               source2.cpp)

Since

This command was introduced in Qt Quick Ultralite 1.7.

See also qmltocpp.

Available under certain Qt licenses.
Find out more.