summaryrefslogtreecommitdiffstats
path: root/qmake/generators/win32/mingw_make.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-03-02 16:10:46 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-03-03 10:27:49 (GMT)
commit375edf788be3f51d6bebc438142642ce53004170 (patch)
tree7e44ba0aed15fb779539bac0890ffd34aff33c0b /qmake/generators/win32/mingw_make.cpp
parentf006691acc45a57e011e5827163c0b3759864bf7 (diff)
downloadQt-375edf788be3f51d6bebc438142642ce53004170.zip
Qt-375edf788be3f51d6bebc438142642ce53004170.tar.gz
Qt-375edf788be3f51d6bebc438142642ce53004170.tar.bz2
don't have every generator duplicate the QMAKE_QMAKE logic
Reviewed-by: mariusSO
Diffstat (limited to 'qmake/generators/win32/mingw_make.cpp')
-rw-r--r--qmake/generators/win32/mingw_make.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp
index e1f502f..fd43145 100644
--- a/qmake/generators/win32/mingw_make.cpp
+++ b/qmake/generators/win32/mingw_make.cpp
@@ -143,7 +143,7 @@ bool MingwMakefileGenerator::writeMakefile(QTextStream &t)
if(project->first("TEMPLATE") == "app" ||
project->first("TEMPLATE") == "lib") {
if(Option::mkfile::do_stub_makefile) {
- t << "QMAKE = " << (project->isEmpty("QMAKE_QMAKE") ? QString("qmake") : var("QMAKE_QMAKE")) << endl;
+ t << "QMAKE = " << var("QMAKE_QMAKE") << endl;
QStringList &qut = project->values("QMAKE_EXTRA_TARGETS");
for(QStringList::ConstIterator it = qut.begin(); it != qut.end(); ++it)
t << *it << " ";
@@ -248,8 +248,6 @@ void MingwMakefileGenerator::init()
project->values("QMAKE_INSTALL_DIR").append("$(COPY_DIR)");
if(project->values("MAKEFILE").isEmpty())
project->values("MAKEFILE").append("Makefile");
- if(project->values("QMAKE_QMAKE").isEmpty())
- project->values("QMAKE_QMAKE").append("qmake");
return;
}