C
qul_get_module_target
使用它获取Qt Quick Ultralite模块的目标名称并将其存储在一个变量中。
摘要
qul_get_module_target(<user_defined_variable>
<application_target>
<module_qmlproject_file>)描述
您可以获取Qt Quick Ultralite模块的目标名称并将其存储在定义的变量中。模块目标可以用来添加C++源文件到模块库中。
示例
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)自
此命令是在Qt Quick Ultralite 2.7中引入的。
在特定的Qt许可证下可用。
了解更多。