use cxx_qt_build::{CxxQtBuilder, PluginType, QmlModule}; fn main() { CxxQtBuilder::new_qml_module(QmlModule::new("NovaStats").plugin_type(PluginType::Dynamic)) .files(["src/system_stats.rs", "src/cpu_service.rs"]) .build(); }