mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-27 13:54:11 +00:00

By not requiring a pipeline and having a lower-level SlintOpenGLSink type, it's easier to re-use this code in application code that for example doesn't use playbin.
11 lines
253 B
Rust
11 lines
253 B
Rust
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
use cfg_aliases::cfg_aliases;
|
|
|
|
fn main() {
|
|
slint_build::compile("scene.slint").unwrap();
|
|
cfg_aliases! {
|
|
slint_gstreamer_egl: { target_os = "linux" },
|
|
}
|
|
}
|