use std::error::Error; slint::include_modules!(); fn main() -> Result<(), Box> { let ui = MainWindow::new()?; ui.run()?; Ok(()) }