forked from qt-creator/qt-creator
McuSupport: Fix build with Qt5
Change-Id: Iec6008f1cafd46988003a473791bf7cf1e56caea Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -141,7 +141,7 @@ Utils::NameValuePairs McuDependenciesKitAspect::configuration(const Kit *kit)
|
|||||||
{
|
{
|
||||||
using namespace CMakeProjectManager;
|
using namespace CMakeProjectManager;
|
||||||
const auto config = CMakeConfigurationKitAspect::configuration(kit).toList();
|
const auto config = CMakeConfigurationKitAspect::configuration(kit).toList();
|
||||||
return Utils::transform(config, [](const CMakeConfigItem &it) {
|
return Utils::transform<Utils::NameValuePairs>(config, [](const CMakeConfigItem &it) {
|
||||||
return Utils::NameValuePair(QString::fromUtf8(it.key), QString::fromUtf8(it.value));
|
return Utils::NameValuePair(QString::fromUtf8(it.key), QString::fromUtf8(it.value));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user