pub struct QmlModuleRegistrationFiles {
pub rcc: PathBuf,
pub qmlcachegen: Vec<PathBuf>,
pub qmltyperegistrar: PathBuf,
pub plugin: PathBuf,
pub plugin_init: PathBuf,
}Expand description
Paths to C++ files generated by QtBuild::register_qml_module
Fields§
§rcc: PathBufFile generated by rcc for the QML plugin. 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.
qmlcachegen: Vec<PathBuf>Files generated by qmlcachegen. Must be linked with +whole-archive.
qmltyperegistrar: PathBufFile generated by qmltyperegistrar CLI tool.
plugin: PathBufFile with generated QQmlEngineExtensionPlugin that calls the function generated by qmltyperegistrar.
plugin_init: PathBufFile that automatically registers the QQmlExtensionPlugin at startup. Must be linked with +whole-archive.
Auto Trait Implementations§
impl RefUnwindSafe for QmlModuleRegistrationFiles
impl Send for QmlModuleRegistrationFiles
impl Sync for QmlModuleRegistrationFiles
impl Unpin for QmlModuleRegistrationFiles
impl UnwindSafe for QmlModuleRegistrationFiles
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more