mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-31 15:47:26 +00:00
![]() When not explicitly selected, we would construct the Backend struct as-is, without calling `new()`. Therefore we would miss the call to ensure_initialized() and later set the Qt::AA_PluginApplication application attribute, which screws up rendering. |
||
---|---|---|
.. | ||
LICENSES | ||
build.rs | ||
Cargo.toml | ||
lib.rs | ||
README.md |
NOTE: This library is an internal crate of the Slint project.
This crate should not be used directly by applications using Slint.
You should use the slint
crate instead.
WARNING: This crate does not follow the semver convention for versioning and can
only be used with version = "=x.y.z"
in Cargo.toml.
The purpose of this crate is to select the default backend for Slint
The backend can either be a runtime or a build time decision. The runtime decision is decided
by the SLINT_BACKEND
environment variable. The built time default depends on the platform.
In order for the crate to be available at runtime, they need to be added as feature