summaryrefslogtreecommitdiff
path: root/tools/qmake6
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qmake6')
-rwxr-xr-xtools/qmake612
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/qmake6 b/tools/qmake6
new file mode 100755
index 0000000..c1d7181
--- /dev/null
+++ b/tools/qmake6
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -eu
+
+if command -v qmake6 >/dev/null 2>&1; then
+ exec qmake6 "$@"
+fi
+if command -v qmake-qt6 >/dev/null 2>&1; then
+ exec qmake-qt6 "$@"
+fi
+
+echo "Qt 6 qmake was not found; install the Qt 6 development tools" >&2
+exit 127