forked from qt-creator/qt-creator
ProjectExplorer: Add support for LLVM/MinGW from the installer
Those are registered as mingw rather than clang. Fixes: QTCREATORBUG-31156 Change-Id: If4e1d7ceecd9648f768680c92c4cde24c1255600 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -857,8 +857,11 @@ QStringList GccToolchain::suggestedMkspecList() const
|
||||
return {QString("linux-icc-%1").arg(targetAbi().wordWidth())};
|
||||
|
||||
if (m_subType == MinGW) {
|
||||
if (HostOsInfo::isWindowsHost())
|
||||
if (HostOsInfo::isWindowsHost()) {
|
||||
if (compilerCommand().fileName().contains("clang"))
|
||||
return {"win32-clang-g++"};
|
||||
return {"win32-g++"};
|
||||
}
|
||||
if (HostOsInfo::isLinuxHost()) {
|
||||
if (version().startsWith("4.6."))
|
||||
return {"win32-g++-4.6-cross", "unsupported/win32-g++-4.6-cross"};
|
||||
|
Reference in New Issue
Block a user