We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b08463a commit d97f8abCopy full SHA for d97f8ab
qttypes/build.rs
@@ -43,8 +43,8 @@ fn qmake_query(var: &str) -> String {
43
Err(_env_var_err) => {
44
(|| {
45
// Some Linux distributions (Fedora, Arch) rename qmake to qmake-qt5.
46
- // qmake6 is somehow an official alias
47
- for qmake in &["qmake", "qmake6", "qmake-qt5"] {
+ // qmake6 is an official alias that generally always points to the Qt6 version.
+ for qmake in &["qmake6", "qmake", "qmake-qt5"] {
48
match Command::new(qmake).args(&["-query", var]).output() {
49
Err(err) if err.kind() == std::io::ErrorKind::NotFound => continue,
50
x => return x,
0 commit comments