mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-29 11:07:37 +00:00
On Linux, if Qt is found, the qt backend is the default. This backend doesn't support selecting graphics APIs, thus the OpenGL and WGPU examples don't run out of the box. This patch fixes that by preferring winit. |
||
|---|---|---|
| .. | ||
| LICENSES | ||
| api.rs | ||
| 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