clide/src/main.rs

19 lines
380 B
Rust
Raw Normal View History

2025-03-29 16:55:26 -04:00
// TODO: Header
2025-03-29 08:01:13 -04:00
2025-03-29 20:14:42 -04:00
pub mod line_count;
2025-03-29 08:01:13 -04:00
fn main() {
use cxx_qt_lib::{QGuiApplication, QQmlApplicationEngine, QUrl};
let mut app = QGuiApplication::new();
let mut engine = QQmlApplicationEngine::new();
if let Some(engine) = engine.as_mut() {
engine.load(&QUrl::from("qml/main.qml"));
}
if let Some(app) = app.as_mut() {
app.exec();
}
}