C

qul_get_module_target

Use it to get the Qt Quick Ultralite module target name and store it in a variable.

Synopsis

qul_get_module_target(<user_defined_variable>
                      <application_target>
                      <module_qmlproject_file>)

Description

You can get the Qt Quick Ultralite module target name and store it in a defined variable. The module target could be used, for example, to add C++ source files to the module library.

Examples

qul_add_target(example_app)
qul_get_module_target(my_module_target example_app my_module.qmlproject)
target_sources(${my_module_target} source1.cpp source2.cpp)

Since

This command was introduced in Qt Quick Ultralite 2.7.

Available under certain Qt licenses.
Find out more.