You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When used as a dependency with cargo, the following error occurs:
Updating git repository `https://github.com/cyndis/qmlrs.git`
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling pkg-config v0.3.8
Compiling libc v0.2.11
Compiling qmlrs v0.1.1 (https://github.com/cyndis/qmlrs.git#ff28b56a)
/Users/matthew/.cargo/git/checkouts/qmlrs-521912f04de8f24e/master/build.rs:54:25: 54:33 error: no method named `exists` found for type `std::path::PathBuf` in the current scope
/Users/matthew/.cargo/git/checkouts/qmlrs-521912f04de8f24e/master/build.rs:54 if qt5_lib_path.exists() {
^~~~~~~~
/Users/matthew/.cargo/git/checkouts/qmlrs-521912f04de8f24e/master/build.rs:54:25: 54:33 help: items from traits can only be used if the trait is in scope; the following trait is implemented but not in scope, perhaps add a `use` for it:
/Users/matthew/.cargo/git/checkouts/qmlrs-521912f04de8f24e/master/build.rs:54:25: 54:33 help: candidate #1: use `std::fs::PathExt`
error: aborting due to previous error
Could not compile `qmlrs`.
I have installed both rust and qt5 using homebrew. I also tried using both the git dependency and the 0.1.1 version from crates.io. Any help would be appreciated!
Thanks!
The text was updated successfully, but these errors were encountered:
When used as a dependency with cargo, the following error occurs:
I have installed both
rust
andqt5
using homebrew. I also tried using both the git dependency and the0.1.1
version from crates.io. Any help would be appreciated!Thanks!
The text was updated successfully, but these errors were encountered: