Commit 5a5c3abe authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Mingw: Suggest mkspec on linux



Change-Id: I04dbe0c08f0106834661606bfd65da252637b8f4
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent c8989b7a
......@@ -883,7 +883,14 @@ QString MingwToolChain::typeDisplayName() const
Utils::FileName MingwToolChain::mkspec() const
{
#if defined(Q_OS_WIN)
return Utils::FileName::fromString(QLatin1String("win32-g++"));
#elif defined(Q_OS_LINUX)
if (version().startsWith("4.6."))
return Utils::FileName::fromString(QLatin1String("unsupported/win32-g++-4.6-cross"));
else
return Utils::FileName::fromString(QLatin1String("unsupported/win32-g++-cross"));
#endif
}
QString MingwToolChain::makeCommand() const
......
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