See gui.rs, the version sent to QML should be sourced from Cargo.toml through e.g. cargo_metadata.
gui.rs
Cargo.toml