Struct qt_build_utils::QmlTypeRegistrationFiles
source · pub struct QmlTypeRegistrationFiles {
pub qmltyperegistrar: PathBuf,
pub plugin: PathBuf,
pub plugin_init: PathBuf,
}
Expand description
Paths to C++ files generated by QtBuild::register_qml_types
Fields§
§qmltyperegistrar: PathBuf
File generated by qmltyperegistrar CLI tool
plugin: PathBuf
File with generated QQmlEngineExtensionPlugin that calls the function generated by qmltyperegistrar
plugin_init: PathBuf
File that automatically registers the QQmlExtensionPlugin at startup.
The compiled static library must be linked with +whole-archive
or the linker will discard the generated static variables because they are not referenced from main
.