Improve Qt path detection in build script

This commit is contained in:
√(noham)²
2025-11-29 14:37:41 +01:00
parent 1619fda631
commit 15e5dabc37

View File

@@ -8,8 +8,8 @@
PROJECT_DIR=$(cd "$(dirname "$0")/.." && pwd) PROJECT_DIR=$(cd "$(dirname "$0")/.." && pwd)
# Qt path detection (adjust according to your installation) # Qt path detection
QT_PATH=${QT_PATH:-"$HOME/Qt/6.10.0"} QT_PATH=${QT_PATH:-$(ls -d "$HOME/Qt/6."* 2>/dev/null | sort -V | tail -n1)}
# Parse build mode argument # Parse build mode argument
BUILD_MODE=${1:-rmfakecloud} BUILD_MODE=${1:-rmfakecloud}