From d4fb4f58897a2a02eb0ac873292a95edbc2a2bec Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Mon, 17 Nov 2025 13:31:08 +0100 Subject: [PATCH] qmlfmt: add user info to install package --- Bin/dev/qmlfmt.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Bin/dev/qmlfmt.sh b/Bin/dev/qmlfmt.sh index eee5bc5e..7b219092 100755 --- a/Bin/dev/qmlfmt.sh +++ b/Bin/dev/qmlfmt.sh @@ -8,8 +8,11 @@ if command -v qmlformat &>/dev/null; then QMLFORMAT="qmlformat" elif [ -x "/usr/lib/qt6/bin/qmlformat" ]; then QMLFORMAT="/usr/lib/qt6/bin/qmlformat" +elif [ -x "/usr/lib/qt5/bin/qmlformat" ]; then + QMLFORMAT="/usr/lib/qt5/bin/qmlformat" else echo "No 'qmlformat' found in PATH or /usr/lib/qt6/bin." >&2 + echo "Install it via 'qt6-declarative-tools' or 'qt5-declarative' (depending on your distro) to proceed." >&2 exit 1 fi