From 60fca92b1f1f4a6f6c1ac8ac534650ef49af469e Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Fri, 12 Mar 2010 15:40:20 +0100 Subject: Add DEFINES to mingw32/windres.exe command line. qmake didn't add $DEFINES to the windres.exe command line, while it was added to the rc.exe command line. Task-number: QTBUG-7773 Reviewed-by: Marius Storm-Olsen --- qmake/generators/win32/mingw_make.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmake/generators/win32/mingw_make.cpp b/qmake/generators/win32/mingw_make.cpp index fd43145..0936d15 100644 --- a/qmake/generators/win32/mingw_make.cpp +++ b/qmake/generators/win32/mingw_make.cpp @@ -415,7 +415,7 @@ void MingwMakefileGenerator::writeRcFilePart(QTextStream &t) if (!rc_file.isEmpty()) { t << escapeDependencyPath(var("RES_FILE")) << ": " << rc_file << "\n\t" << var("QMAKE_RC") << " -i " << rc_file << " -o " << var("RES_FILE") - << " --include-dir=" << incPathStr << endl << endl; + << " --include-dir=" << incPathStr << " $(DEFINES)" << endl << endl; } } -- cgit v0.12