From 5bb0c7c5cacb0f741420d16be26768c156d4f288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 13 Sep 2011 14:38:53 +0200 Subject: [PATCH] Fixed crash in tst_QPathClipper. QPathClipper uses QPainter which requires QGuiApplication. Task-number: QTBUG-21402 Change-Id: If08b0ddee97cad347450fa06878f787e94292854 Reviewed-on: http://codereview.qt-project.org/4777 Reviewed-by: Qt Sanity Bot Reviewed-by: Lars Knoll --- tests/auto/gui/painting/qpathclipper/qpathclipper.pro | 2 -- tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/auto/gui/painting/qpathclipper/qpathclipper.pro b/tests/auto/gui/painting/qpathclipper/qpathclipper.pro index 85f4a58dcd..aead7007f0 100644 --- a/tests/auto/gui/painting/qpathclipper/qpathclipper.pro +++ b/tests/auto/gui/painting/qpathclipper/qpathclipper.pro @@ -7,5 +7,3 @@ QT += gui-private requires(contains(QT_CONFIG,private_tests)) unix:!mac:!symbian:LIBS+=-lm - -CONFIG += insignificant_test # QTBUG-21402 diff --git a/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp b/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp index 57a56b2d1a..5a7c803eea 100644 --- a/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp +++ b/tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp @@ -1328,7 +1328,7 @@ void tst_QPathClipper::qtbug3778() QVERIFY(p12.contains(QPointF(100, 100))); } -QTEST_APPLESS_MAIN(tst_QPathClipper) +QTEST_MAIN(tst_QPathClipper) #include "tst_qpathclipper.moc"