From 6226fcdc3e4ace4636c58778ef53fbf69f46c36e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 18 Sep 2012 22:01:10 +0200 Subject: [PATCH] add a .qmake.conf file which load()s qt_build_config that way we don't have to auto-generate code for that in the configures. note that we now load qt_build_config.prf instead of just qmodule.pri, which means that exceptions_off is set everywhere. we forcibly re-enable them for testcases to minimize the deviation from default 3rd party usage. testlib selftests are not qt testcases, so the one that needs exceptions needs to enable them explicitly. Change-Id: I1b9360bb11f2e80c92a2b63a7c45991ad17fda1b Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- .qmake.conf | 1 + configure | 1 - mkspecs/features/qt_build_config.prf | 5 +++-- mkspecs/features/testcase.prf | 6 ++++++ .../testlib/selftests/exceptionthrow/exceptionthrow.pro | 1 + tools/configure/configureapp.cpp | 2 -- 6 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .qmake.conf diff --git a/.qmake.conf b/.qmake.conf new file mode 100644 index 00000000000..42ba8e45fb1 --- /dev/null +++ b/.qmake.conf @@ -0,0 +1 @@ +load(qt_build_config) diff --git a/configure b/configure index 684948e3856..643b64024f2 100755 --- a/configure +++ b/configure @@ -6114,7 +6114,6 @@ cat >>"$CACHEFILE.tmp" <