Skip to main content

register_bytes_with_prefix

Function register_bytes_with_prefix 

Source
pub fn register_bytes_with_prefix(data: &[u8], resource_root: &str) -> bool
Expand description

Registers Qt resource data from an in-memory byte slice under resource_root, making embedded resources available at runtime through the qrc:/ scheme.

Returns true if registration succeeded, false otherwise.