From e59a2e20697e0afc2a0b068835cd90e102dec589 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Fri, 21 Jan 2022 17:10:04 +0200 Subject: sdk: remove compiler configs from creator integration 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 (cherry picked from commit 9b50bfa78fbbc6a9526a3020f24e0743a313faf6) Reviewed-by: Qt Cherry-pick Bot --- meta-boot2qt/files/configure-qtcreator.sh | 2 -- 1 file changed, 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" \ -- cgit v1.2.3