Commit f488cc0a authored by Tobias Hunger's avatar Tobias Hunger

Mingw: Fix autodetection

parent 4979af77
......@@ -672,7 +672,9 @@ QString Internal::MingwToolChainFactory::id() const
QList<ToolChain *> Internal::MingwToolChainFactory::autoDetect()
{
return autoDetectToolchains(QLatin1String("g++"), QStringList(), Abi::hostAbi());
Abi ha = Abi::hostAbi();
return autoDetectToolchains(QLatin1String("g++"), QStringList(),
Abi(ha.architecture(), Abi::WindowsOS, Abi::WindowsMSysFlavor, Abi::PEFormat, ha.wordWidth()));
}
bool Internal::MingwToolChainFactory::canCreate()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment