Compilation fails with this output: Compiling qrep v0.1.0 Running `rustc --crate-name build_script_build build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=2cbc50f7b723e61a -C extra-filename=-2cbc50f7b723e61a --out-dir /tmp/cargo-installU74dNH/release/build/qrep-2cbc50f7b723e61a -L dependency=/tmp/cargo-installU74dNH/release/deps --extern rust_qt_binding_generator=/tmp/cargo-installU74dNH/release/deps/librust_qt_binding_generator-557c8a974e43d155.rlib --cap-lints allow` Running `/tmp/cargo-installU74dNH/release/build/qrep-2cbc50f7b723e61a/build-script-build` error: failed to compile `qrep v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installU74dNH` Caused by: failed to run custom build command for `qrep v0.1.0` process didn't exit successfully: `/tmp/cargo-installU74dNH/release/build/qrep-2cbc50f7b723e61a/build-script-build` (exit code: 255) --- stderr running: "qmake" "-query" "QT_VERSION" qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory qmake exited with status code: 1
Can you run qmake -query QT_VERSION and report the output? Does /usr/lib/x86_64-linux-gnu/qt4/bin/qmake exist? It seems that you might have qmake from Qt4 installed. Which version of Qt do you have installed?
/usr/lib/x86_64-linux-gnu/qt4/bin/qmake does not exist. I have Qt5 installed. I run $ qmake -query QT_VERSION as soon as I am on that machine again.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
I am not sure if this is an error of rust-qt-binding-generator but maybe from the qgrep package. This is my output on Kubuntu 20.04 $ cargo --verbose install qrep Updating crates.io index Installing qrep v0.1.0 error: failed to compile `qrep v0.1.0`, intermediate artifacts can be found at `/tmp/cargo-installx3wyxV` Caused by: failed to select a version for the requirement `spmc = "^0.2.2"` candidate versions found which didn't match: 0.3.0 location searched: crates.io index required by package `qrep v0.1.0` $ qmake -query QT_VERSION qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
rust-qt-binding-generator is no longer maintained, please try more recent alternatives like https://github.com/KDAB/cxx-qt/