pub fn register_bytes_with_prefix(data: &[u8], resource_root: &str) -> boolExpand description
Registers Qt resource data from an in-memory byte slice with a prefix.
This function registers a dynamic resource generated with rcc,
making the embedded resources available at runtime through the qrc:/ scheme.
§Parameters
data- A byte slice containing the compiled Qt resource data.resource_root- A string slice with the prefix under which the resources are registered
§Returns
Returns true if the resource was successfully registered, or false
if registration failed.