$ sed -ibak 's|qml \([0-9\.]*\) |qml 0.0.6 |g' Cargo.lock
$ git diff
diff --git a/Cargo.lock b/Cargo.lock
index 4503ece..0004a73 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3,7 +3,7 @@ name = "kefia"
version = "0.1.0"
dependencies = [
"lazysort 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
- "qml 0.0.4 (git+https://github.com/White-Oak/qml-rust.git)",
+ "qml 0.0.6 (git+https://github.com/White-Oak/qml-rust.git)",
"regex 0.1.71 (registry+https://github.com/rust-lang/crates.io-index)",
]
$ cargo build
Updating git repository `https://github.com/White-Oak/qml-rust.git`
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling kefia v0.1.0 (file:///Users/nbigaouette/kefia)
<qml macros>:30:47: 30:52 error: the trait bound `&str: std::convert::From<&qml::QVariant>` is not satisfied [E0277]
<qml macros>:30 let $ rolename = v . next ( ) . unwrap ( ) . into ( ) ; ) * (
^~~~~
src/view.rs:45:1: 52:2 note: in this expansion of Q_LISTMODEL! (defined in <qml macros>)
<qml macros>:30:47: 30:52 help: run `rustc --explain E0277` to see a detailed explanation
<qml macros>:30:47: 30:52 note: required because of the requirements on the impl of `std::convert::Into<&str>` for `&qml::QVariant`
<qml macros>:63:24: 63:65 error: mismatched types [E0308]
<qml macros>:63 next . into ( ) ; ) * self . $ slotname ( $ ( $ slotvar ) , * ) } , ) * $ (
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/view.rs:102:1: 112:3 note: in this expansion of Q_OBJECT! (defined in <qml macros>)
<qml macros>:63:24: 63:65 help: run `rustc --explain E0308` to see a detailed explanation
<qml macros>:63:24: 63:65 note: expected type `std::option::Option<&qml::QVariant>`
<qml macros>:63:24: 63:65 note: found type `()`
<qml macros>:63:24: 63:65 error: mismatched types [E0308]
<qml macros>:63 next . into ( ) ; ) * self . $ slotname ( $ ( $ slotvar ) , * ) } , ) * $ (
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/view.rs:102:1: 112:3 note: in this expansion of Q_OBJECT! (defined in <qml macros>)
<qml macros>:63:24: 63:65 help: run `rustc --explain E0308` to see a detailed explanation
<qml macros>:63:24: 63:65 note: expected type `std::option::Option<&qml::QVariant>`
<qml macros>:63:24: 63:65 note: found type `()`
error: aborting due to 3 previous errors
error: Could not compile `kefia`.
To learn more, run the command again with --verbose.