From 62d906235e5ad3193269f38b0f75d3c6fe7319c7 Mon Sep 17 00:00:00 2001 From: meator Date: Fri, 21 Aug 2026 19:13:15 +0200 Subject: [PATCH] Prefer qmake over qmake-qt5 in lookup order qmake is more generic, it has a possibility of working for qt6 unlike qmake-qt5, which forces qt5 no matter what. --- src/util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util.cpp b/src/util.cpp index 6dd662b..fb3b622 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -65,10 +65,10 @@ std::filesystem::path findQmake() { ldLog() << "Using user specified qmake:" << qmakePath << std::endl; } else { // search for qmake - qmakePath = linuxdeploy::util::which("qmake-qt5"); + qmakePath = linuxdeploy::util::which("qmake"); if (qmakePath.empty()) - qmakePath = linuxdeploy::util::which("qmake"); + qmakePath = linuxdeploy::util::which("qmake-qt5"); if (qmakePath.empty()) qmakePath = linuxdeploy::util::which("qmake6");