diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2022-01-21 17:10:04 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-01-24 07:23:54 +0000 |
commit | e59a2e20697e0afc2a0b068835cd90e102dec589 (patch) | |
tree | b2dd1d84cbf143197ee7961e6913bb37bd386a82 | |
parent | e9282c060b3540e00d7abdf5c663c47e1916d7ea (diff) |
We cannot set compilers to CMake configs, since the actual compilers
settings in the toolchain file contains extra arguments that are needed
for the toolchain to work correctly.
This will again cause QtCreator to show the warnings for missing
configurations for the Kit, but there's nothing we can do about that.
Task-number: QTBUG-100123
Change-Id: I963074dd971d651f1de6af93a19d57fd2fa42628
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
(cherry picked from commit 9b50bfa78fbbc6a9526a3020f24e0743a313faf6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rwxr-xr-x | meta-boot2qt/files/configure-qtcreator.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-boot2qt/files/configure-qtcreator.sh b/meta-boot2qt/files/configure-qtcreator.sh index 8ce93109..2810ba5d 100755 --- a/meta-boot2qt/files/configure-qtcreator.sh +++ b/meta-boot2qt/files/configure-qtcreator.sh @@ -149,8 +149,6 @@ ${SDKTOOL} addKit \ --icon ":/boot2qt/images/B2Qt_QtC_icon.png" \ --mkspec "${MKSPEC}" \ --cmake "${BASEID}.cmake" \ - --cmake-config "CMAKE_CXX_COMPILER:STRING=%{Compiler:Executable:Cxx}" \ - --cmake-config "CMAKE_C_COMPILER:STRING=%{Compiler:Executable:C}" \ --cmake-config "CMAKE_PREFIX_PATH:STRING=%{Qt:QT_INSTALL_PREFIX}" \ --cmake-config "QT_QMAKE_EXECUTABLE:STRING=%{Qt:qmakeExecutable}" \ --cmake-config "CMAKE_TOOLCHAIN_FILE:FILEPATH=${OECORE_NATIVE_SYSROOT}/usr/share/cmake/Qt6Toolchain.cmake" \ |