OSDN Git Service

Symbian: Make sure to call make.exe on windows
authorTobias Hunger <tobias.hunger@nokia.com>
Fri, 26 Nov 2010 11:19:32 +0000 (12:19 +0100)
committerTobias Hunger <tobias.hunger@nokia.com>
Fri, 26 Nov 2010 12:43:50 +0000 (13:43 +0100)
In some situations the build system will try to run make.pl otherwise!

src/plugins/qt4projectmanager/qt-s60/gccetoolchain.cpp

index 85c9ede..3940b1c 100644 (file)
@@ -148,7 +148,11 @@ void GCCEToolChain::addToEnvironment(Utils::Environment &env)
 
 QString GCCEToolChain::makeCommand() const
 {
+#if defined (Q_OS_WIN)
+    return QLatin1String("make.exe");
+#else
     return QLatin1String("make");
+#endif
 }
 
 bool GCCEToolChain::equals(const ToolChain *otherIn) const