Giter VIP home page Giter VIP logo

kefia's People

Contributors

white-oak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kefia's Issues

kefia does not compile using qml-rust 0.0.6

$ 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.

I need 0.0.6 to be able to compile on OSX (see White-Oak/qml-rust@0c14028)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.