aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2024-04-30 11:52:13 +0300
committerMikko Gronoff <mikko.gronoff@qt.io>2024-05-07 08:13:28 +0300
commit885a41bc23d59cc9ae2c405ba8f1995b46e67332 (patch)
tree9598c76796e73e4281ff24a4e0f1a0cc8df0ad10
parent65b4cf3e15f5fee053286bd6ed8933f832ede18e (diff)
configure-qtcreator: Fix path to sdktoollts-5.15
QtCreator and sdktool are now separate components in the SDK installation. Use the new path by default and change the argument that can be used to give full path to the sdktool binary. Fixes: QTBUG-124612 Change-Id: I262ac1468f565b4a3e9931f38bd1e767f1b235f2 Reviewed-by: Ari Parkkila <ari.parkkila@qt.io> (cherry picked from commit 1076fe82682373aad23e1e43c826c7b596ddb7b1) Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rwxr-xr-xmeta-boot2qt/files/configure-qtcreator.sh14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta-boot2qt/files/configure-qtcreator.sh b/meta-boot2qt/files/configure-qtcreator.sh
index 7a899fa0..04b5cc68 100755
--- a/meta-boot2qt/files/configure-qtcreator.sh
+++ b/meta-boot2qt/files/configure-qtcreator.sh
@@ -35,7 +35,7 @@ CONFIG=""
printUsage ()
{
- echo "Usage: $0 --config <environment-setup-file> [--remove] [--qtcreator <path>] [--name <basename>]"
+ echo "Usage: $0 --config <environment-setup-file> [--remove] --sdktool <path>] [--name <basename>]"
}
while test -n "$1"; do
@@ -43,9 +43,9 @@ while test -n "$1"; do
"--remove")
REMOVEONLY=1
;;
- "--qtcreator")
+ "--sdktool")
shift
- QTCREATOR=$1
+ SDKTOOL=$1
;;
"--config")
shift
@@ -68,13 +68,11 @@ if [ ! -f "$CONFIG" ]; then
exit 1
fi
-if [ -z "${QTCREATOR}" ]; then
- SDKTOOL="${HOME}/Qt/Tools/QtCreator/libexec/qtcreator/sdktool"
-else
- SDKTOOL="${QTCREATOR}/libexec/qtcreator/sdktool"
+if [ -z "${SDKTOOL}" ]; then
+ SDKTOOL="${HOME}/Qt/Tools/sdktool/libexec/qtcreator/sdktool"
fi
if [ ! -x ${SDKTOOL} ]; then
- echo "Cannot find 'sdktool' from QtCreator"
+ echo "Cannot find 'sdktool'"
printUsage
exit 1
fi