aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/shared
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-06-05 18:05:39 -0400
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-06-18 10:52:02 +0200
commita213f293f525759342d5e73d497858d728168bae (patch)
treeb4e46ff7ba61358eaeb238323f14d4bcbca0df6e /src/app/shared
parentf4e6d8c42e0cc14b8ac9aebb3ca984d0b9edcf57 (diff)
Make the toolchain property a list.
This allows us to differentiate between clang and gcc toolchains, and also allows us to easily apply conditions to multiple related toolchains (gcc, clang, mingw are all considered part of the gcc toolchain family). The probes now also correctly set the toolchain. Change-Id: Ic5d01fe7fe25dd5e5937cbff7d9253f180571533 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/app/shared')
-rw-r--r--src/app/shared/specialplatformssetup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/shared/specialplatformssetup.cpp b/src/app/shared/specialplatformssetup.cpp
index 5bd8a4024..8b7afa829 100644
--- a/src/app/shared/specialplatformssetup.cpp
+++ b/src/app/shared/specialplatformssetup.cpp
@@ -146,7 +146,7 @@ void SpecialPlatformsSetup::registerProfile(const PlatformInfo &platformInfo)
Profile profile(platformInfo.name, m_settings);
profile.removeProfile();
- profile.setValue(QLatin1String("qbs.toolchain"), QLatin1String("gcc"));
+ profile.setValue(QLatin1String("qbs.toolchain"), QStringList(QLatin1String("gcc")));
profile.setValue(QLatin1String("qbs.endianness"), QLatin1String("little"));
profile.setValue(QLatin1String("qbs.targetOS"), platformInfo.targetOS);
profile.setValue(QLatin1String("qbs.targetPlatform"), platformInfo.targetPlatform);