diff options
author | Tobias Hunger <[email protected]> | 2016-07-12 16:27:45 +0200 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2016-07-14 15:34:06 +0000 |
commit | cb14fb0d715f22b32fb9880fd26e20715fcdc5a7 (patch) | |
tree | 9abb67bb500505de5c813aba8d6b92a6793a4847 /src/plugins/autotest/autotestunittests.cpp | |
parent | ce9ca1f0ef4af4695e6c57983fc89a8bbc49976d (diff) |
Kits: Save several ToolChains per kit
BREAKS BACKWARD COMPATIBILITY OF TOOLCHAIN SETTINGS!
* Convert old ToolChainKitInformation to new version
* Store several toolchains in one kit (one per language)
Change-Id: Ia59a2ad067c57971ec34ce9b2e43758344443755
Reviewed-by: Tim Jenssen <[email protected]>
Diffstat (limited to 'src/plugins/autotest/autotestunittests.cpp')
-rw-r--r-- | src/plugins/autotest/autotestunittests.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/autotest/autotestunittests.cpp b/src/plugins/autotest/autotestunittests.cpp index 2628c0698d1..d06e916eda3 100644 --- a/src/plugins/autotest/autotestunittests.cpp +++ b/src/plugins/autotest/autotestunittests.cpp @@ -68,7 +68,8 @@ void AutoTestUnitTests::initTestCase() m_isQt4 = qtVersion->qtVersionString().startsWith(QLatin1Char('4')); else QSKIP("Could not figure out which Qt version is used for default kit."); - const ToolChain * const toolchain = ToolChainKitInformation::toolChain(allKits.first()); + const ToolChain * const toolchain = ToolChainKitInformation::toolChain(allKits.first(), + ToolChain::Language::Cxx); if (!toolchain) QSKIP("This test requires that there is a kit with a toolchain."); |