mirror of
https://github.com/redstrate/Auracite.git
synced 2025-04-23 21:27:45 +00:00
Now we pack the different files into one ZIP archive, and give that as bytes. It's then possible to turn this into a Base64 string perfect for data URIs.
15 lines
No EOL
393 B
Rust
15 lines
No EOL
393 B
Rust
#[cfg(feature = "ui")]
|
|
use cxx_qt_build::{CxxQtBuilder, QmlModule};
|
|
|
|
fn main() {
|
|
#[cfg(feature = "ui")]
|
|
CxxQtBuilder::new()
|
|
.qt_module("Quick")
|
|
.qml_module(QmlModule {
|
|
uri: "zone.xiv.auracite",
|
|
rust_files: &["src/bin/ui/bridge.rs"],
|
|
qml_files: &["src/bin/ui/Main.qml"],
|
|
..Default::default()
|
|
})
|
|
.build();
|
|
} |