From 348c3966a02fd3abd5b172859ae5be04c548cf8a Mon Sep 17 00:00:00 2001 From: David Faure Date: Tue, 15 May 2012 13:04:39 +0200 Subject: Add header qtest_widgets.h, similar to qtest_gui.h, but for QApplication. The current alternative is to define QT_WIDGETS_LIB before including qtest.h, but this is not convenient/intuitive when using other build systems than qmake. If one forgets the define, crashes happen when using QApplication-related code. Use in one of the widgets autotests, for testing. Change-Id: Id96be4976723aea3e8a28c9d0d594daab25a6d90 Reviewed-by: Rohan McGovern --- tests/auto/widgets/effects/qgraphicseffect/tst_qgraphicseffect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/widgets/effects/qgraphicseffect/tst_qgraphicseffect.cpp b/tests/auto/widgets/effects/qgraphicseffect/tst_qgraphicseffect.cpp index a888a9f984..1b0de0ee38 100644 --- a/tests/auto/widgets/effects/qgraphicseffect/tst_qgraphicseffect.cpp +++ b/tests/auto/widgets/effects/qgraphicseffect/tst_qgraphicseffect.cpp @@ -40,7 +40,7 @@ ****************************************************************************/ -#include +#include #include #include #include -- cgit v1.2.3