slint/internal/backends/selector
Simon Hausmann dae978a0f9 Fix HighDPI rendering on Windows when using Qt as default backend
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.
2023-09-01 11:40:31 +02:00
..
LICENSES reuse: remove glob for markdown files 2023-08-17 08:55:28 +02:00
build.rs Update royalty free license to 1.1 (#2994) 2023-07-10 10:12:11 +02:00
Cargo.toml Fix Skia OpenGL/Vulkan feature selection 2023-08-28 13:22:33 +02:00
lib.rs Fix HighDPI rendering on Windows when using Qt as default backend 2023-09-01 11:40:31 +02:00
README.md reuse: remove glob for markdown files 2023-08-17 08:55:28 +02:00

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