From 25ce2b5594089ea73fc8eed3a16974098c33a2c9 Mon Sep 17 00:00:00 2001 From: Josip Medved Date: Wed, 14 Apr 2021 21:24:29 -0700 Subject: [PATCH] Fixing Qt version to use with ./WinMake.sh --- WinMake.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WinMake.sh b/WinMake.sh index 7b2b14f..d4133eb 100644 --- a/WinMake.sh +++ b/WinMake.sh @@ -1,6 +1,7 @@ #!/bin/bash QT_PATH='/c/Qt' +QT_VERSION=5.14.2 CERTIFICATE_THUMBPRINT="e9b444fffb1375ece027e40d8637b6da3fdaaf0e" TIMESTAMP_URL="http://timestamp.digicert.com" #http://timestamp.comodoca.com/rfc3161 @@ -37,7 +38,7 @@ DIST_NAME='qtext' DIST_VERSION=`grep VERSION src/QText.pro | head -1 | cut -d'=' -f2 | awk '{print $$1}' | tr -d '"'` -CMD_QMAKE=`ls $QT_PATH/**/**/bin/qmake.exe | sort | tail -1` +CMD_QMAKE=`ls $QT_PATH/$QT_VERSION/**/bin/qmake.exe | sort | tail -1` CMD_MAKE=`ls $QT_PATH/Tools/**/bin/mingw32-make.exe | sort | tail -1` if [[ ! -f "$CMD_QMAKE" ]]; then