Fixed crash in tst_QPathClipper.
authorSamuel Rødal <samuel.rodal@nokia.com>
Tue, 13 Sep 2011 12:38:53 +0000 (14:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Sep 2011 07:11:35 +0000 (09:11 +0200)
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 <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
tests/auto/gui/painting/qpathclipper/qpathclipper.pro
tests/auto/gui/painting/qpathclipper/tst_qpathclipper.cpp

index 85f4a58..aead700 100644 (file)
@@ -7,5 +7,3 @@ QT += gui-private
 requires(contains(QT_CONFIG,private_tests))
 
 unix:!mac:!symbian:LIBS+=-lm
-
-CONFIG += insignificant_test # QTBUG-21402
index 57a56b2..5a7c803 100644 (file)
@@ -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"