From b62a42dde1de6792fcd86708bb481a3fccd93611 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 19 Jul 2016 12:54:37 +0200 Subject: [PATCH] Remove useless guards around #define's in qconfig.h These are not meant to be overwritten by command line defines anyway. Bad things could happen if they are not in sync with the values in the pro files. If you want to change them, reconfigure Qt. Change-Id: Ic456e54b97e6909f01a4f4be33e3d7e2b2571e80 Reviewed-by: Oswald Buddenhagen Reviewed-by: Lars Knoll --- mkspecs/features/qt_configure.prf | 2 -- 1 file changed, 2 deletions(-) diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf index 2700b2eb806..d4ddc089b24 100644 --- a/mkspecs/features/qt_configure.prf +++ b/mkspecs/features/qt_configure.prf @@ -1471,9 +1471,7 @@ defineTest(qtConfProcessOutput) { } else { for (define, config.output.$${type}._KEYS_) { value = $$eval(config.output.$${type}.$${define}) - config.output.$$type += "$${LITERAL_HASH}ifndef $$define" config.output.$$type += "$${LITERAL_HASH}define $$define $$value" - config.output.$$type += "$${LITERAL_HASH}endif" } } defined(qtConfOutputPostProcess_$${type}, test): \