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: PathBuf
File 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: 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. Must be linked with +whole-archive
.
Auto Trait Implementations§
impl Freeze for QmlModuleRegistrationFiles
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more