aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta-boot2qt/files/configure-qtcreator.sh6
-rw-r--r--meta-boot2qt/files/qbsp/toolchain_installscript.qs4
2 files changed, 5 insertions, 5 deletions
diff --git a/meta-boot2qt/files/configure-qtcreator.sh b/meta-boot2qt/files/configure-qtcreator.sh
index a682ff0a..c7f7101b 100755
--- a/meta-boot2qt/files/configure-qtcreator.sh
+++ b/meta-boot2qt/files/configure-qtcreator.sh
@@ -1,7 +1,7 @@
#!/bin/bash
############################################################################
##
-## Copyright (C) 2020 The Qt Company Ltd.
+## Copyright (C) 2021 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the Boot to Qt meta layer.
@@ -109,14 +109,14 @@ ${SDKTOOL} addTC \
--name "GCC (${NAME})" \
--path "$(type -p ${CC})" \
--abi "${ABI}" \
- --language 1
+ --language C
${SDKTOOL} addTC \
--id "ProjectExplorer.ToolChain.Gcc:${BASEID}.g++" \
--name "G++ (${NAME})" \
--path "$(type -p ${CXX})" \
--abi "${ABI}" \
- --language 2
+ --language Cxx
${SDKTOOL} addDebugger \
--id "${BASEID}.gdb" \
diff --git a/meta-boot2qt/files/qbsp/toolchain_installscript.qs b/meta-boot2qt/files/qbsp/toolchain_installscript.qs
index b24d6ccf..56aa2ac8 100644
--- a/meta-boot2qt/files/qbsp/toolchain_installscript.qs
+++ b/meta-boot2qt/files/qbsp/toolchain_installscript.qs
@@ -81,7 +81,7 @@ Component.prototype.createOperations = function()
"--name", "GCC (" + platform + " " + target + ")",
"--path", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-gcc" + executableExt,
"--abi", abi,
- "--language", "1",
+ "--language", "C",
"UNDOEXECUTE",
"@SDKToolBinary@", "rmTC", "--id", toolchainId + ".gcc"]);
@@ -91,7 +91,7 @@ Component.prototype.createOperations = function()
"--name", "G++ (" + platform + " " + target + ")",
"--path", path + "/sysroots/" + hostSysroot + "/usr/bin/" + target_sys + "/" + target_sys + "-g++" + executableExt,
"--abi", abi,
- "--language", "2",
+ "--language", "Cxx",
"UNDOEXECUTE",
"@SDKToolBinary@", "rmTC", "--id", toolchainId + ".g++"]);