add nova-plugin: in-process cxx-qt stats plugin replacing nova-stats subprocess
This commit is contained in:
parent
40cc681e9a
commit
e39d47177b
19 changed files with 1893 additions and 233 deletions
7
plugin/build.rs
Normal file
7
plugin/build.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue