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 <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
This commit is contained in:
Samuel Rødal 2011-09-13 14:38:53 +02:00 committed by Qt by Nokia
parent b6389bb6d4
commit 5bb0c7c5ca
2 changed files with 1 additions and 3 deletions

View File

@ -7,5 +7,3 @@ QT += gui-private
requires(contains(QT_CONFIG,private_tests))
unix:!mac:!symbian:LIBS+=-lm
CONFIG += insignificant_test # QTBUG-21402

View 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"