White-Oak / qml-rust

QML (Qt Quick) bindings for Rust language
MIT License
205 stars 18 forks source link

Build fails on rust-1.17 #46

Open vchekan opened 7 years ago

vchekan commented 7 years ago

I am not 100% sure it is the cause, but roughly after updating from 1.16 to 1.17 I can my project fails and qmp-rust unit tests do not pass either:

$ ~/projects/qml-rust/src $ cargo test
   Compiling lazy_static v0.2.8
   Compiling libc v0.2.22
   Compiling gcc v0.3.45
   Compiling pkg-config v0.3.9
   Compiling cmake v0.1.22
   Compiling qml v0.0.9 (file:///home/vadim/projects/qml-rust)
    Finished dev [unoptimized + debuginfo] target(s) in 23.13 secs
     Running /home/vadim/projects/qml-rust/target/debug/deps/qml-9c345ca780cadf43

running 5 tests
WARNING: QApplication was not created in the main() thread.
WARNING: QApplication was not created in the main() thread.
error: process didn't exit successfully: `/home/vadim/projects/qml-rust/target/debug/deps/qml-9c345ca780cadf43` (signal: 11, SIGSEGV: invalid memory reference)

To learn more, run the command again with --verbose.

Linux Mint 18.1 Serena

rustc 1.17.0 (56124baa9 2017-04-24)

vandenoever commented 6 years ago

Have you tried updating the DOtherSide submodule?