forked from qt-creator/qt-creator
compile on windows
This commit is contained in:
@@ -84,7 +84,7 @@ QStringList QMakeStep::allArguments()
|
|||||||
arguments << "-spec" << bc->qtVersion()->mkspec();
|
arguments << "-spec" << bc->qtVersion()->mkspec();
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
ToolChain::ToolChainType type = pro->toolChainType(bc);
|
ToolChain::ToolChainType type = bc->toolChainType();
|
||||||
if (type == ToolChain::GCC_MAEMO)
|
if (type == ToolChain::GCC_MAEMO)
|
||||||
arguments << QLatin1String("-unix");
|
arguments << QLatin1String("-unix");
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user