aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iosplugin.cpp
diff options
context:
space:
mode:
authorEike Ziller <[email protected]>2015-10-09 09:50:07 +0200
committerEike Ziller <[email protected]>2015-10-19 07:20:53 +0000
commite3f770a50cf0c41ccec10d209ef0af9e6590b119 (patch)
treed213898811d1ee8bee37f582213999ca41575a91 /src/plugins/ios/iosplugin.cpp
parent09bc8af64568ea5e3f50784a541eb64c185ea95c (diff)
iOS: Refactor iOS tool chain and kit auto detection
It was all done in one huge, unreadable method. The refactoring along-side fixes the following: - iOS tool chains were demoted to manual at start up because there was no tool chain factory that would auto detect them - a QTC_CHECK failed because single Qt Versions could appear multiple times in the architecture->Qt version map, because each architecture is present in two abis (32-bit and 64-bit) The refactoring also removes unneeded automatic conversion from non-iOS Qt version to iOS Qt version, and removes considering GCC toolchains (which were not handled anyhow, because only Clang "platforms" were considered). Change-Id: Ic9ae797646f159ed45959fc797990aa98f2136fb Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosplugin.cpp')
-rw-r--r--src/plugins/ios/iosplugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/ios/iosplugin.cpp b/src/plugins/ios/iosplugin.cpp
index a3412057d9a..5ac0b11b0c6 100644
--- a/src/plugins/ios/iosplugin.cpp
+++ b/src/plugins/ios/iosplugin.cpp
@@ -69,6 +69,7 @@ bool IosPlugin::initialize(const QStringList &arguments, QString *errorMessage)
Internal::IosConfigurations::initialize();
+ addAutoReleasedObject(new Internal::IosToolChainFactory);
addAutoReleasedObject(new Internal::IosRunControlFactory);
addAutoReleasedObject(new Internal::IosRunConfigurationFactory);
addAutoReleasedObject(new Internal::IosSettingsPage);