From 6226fcdc3e4ace4636c58778ef53fbf69f46c36e Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 18 Sep 2012 22:01:10 +0200 Subject: 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 --- tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto') diff --git a/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro b/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro index fa4e9a7602..76000ce7db 100644 --- a/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro +++ b/tests/auto/testlib/selftests/exceptionthrow/exceptionthrow.pro @@ -3,6 +3,7 @@ QT = core testlib mac:CONFIG -= app_bundle CONFIG -= debug_and_release_target +CONFIG += exceptions TARGET = exceptionthrow DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 -- cgit v1.2.3