diff options
author | Vitaly Fanaskov <vitaly.fanaskov@qt.io> | 2019-08-30 12:54:00 +0200 |
---|---|---|
committer | Vitaly Fanaskov <vitaly.fanaskov@qt.io> | 2019-08-30 13:10:18 +0000 |
commit | fe06cefbb9b5eb13d9fa018e55f7956d0ed925ff (patch) | |
tree | 76123498465cbef65055abe635fd431eaf57db50 | |
parent | aa76cc7fd4d0c46cc461e129c53a44f80eed3425 (diff) |
Fix building against Qt Creator 4.10
Task-number: QTCREATORBUG-22859
Change-Id: I79f6f74768439508108d301594a46d2be3e34658
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
-rw-r--r-- | datasources/kitsource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/datasources/kitsource.cpp b/datasources/kitsource.cpp index 500e1ea..38d0ccc 100644 --- a/datasources/kitsource.cpp +++ b/datasources/kitsource.cpp @@ -80,7 +80,7 @@ public: static const QString qtQmlCompilerSupportKey = QStringLiteral("qmlCompiler"); static const QString qtAbisKey = QStringLiteral("abis"); - if (auto qtVersion = QtSupport::QtKitInformation::qtVersion(&m_kit)) { + if (auto qtVersion = QtSupport::QtKitAspect::qtVersion(&m_kit)) { QVariantMap qtData; qtData.insert(versionKey(), qtVersion->qtVersionString()); qtData.insert(qtQmlDebuggingSupportKey, qtVersion->isQmlDebuggingSupported()); @@ -97,7 +97,7 @@ public: { static const QString compilerKey = QStringLiteral("compiler"); - if (auto toolChain = ToolChainKitInformation::toolChain(&m_kit, Constants::CXX_LANGUAGE_ID)) { + if (auto toolChain = ToolChainKitAspect::toolChain(&m_kit, Constants::CXX_LANGUAGE_ID)) { m_map.insert(compilerKey, QVariantMap{{nameKey(), toolChain->typeDisplayName()}, {versionKey(), extractToolChainVersion(*toolChain)}}); @@ -110,7 +110,7 @@ public: { static const QString debuggerKey = QStringLiteral("debugger"); - if (auto debuggerInfo = Debugger::DebuggerKitInformation::debugger(&m_kit)) { + if (auto debuggerInfo = Debugger::DebuggerKitAspect::debugger(&m_kit)) { m_map.insert(debuggerKey, QVariantMap{{nameKey(), debuggerInfo->engineTypeName()}, {versionKey(), debuggerInfo->version()}}); |