QApplication::setGraphicsSystem() is a no-op, and even if it wasn't it
would be unwise to force a graphics system that isn't guaranteed to be
included in the Qt build, without including any logic to skip the test
if setting the graphics system failed.
Change-Id: Id9a0a87586872088625de7840b5032d0c3cc48a1
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
QVERIFY(fuzzyCompareImages(imgA, imgB, 0));
}
-int main(int argc, char *argv[])
-{
- QApplication::setGraphicsSystem("openvg");
- QApplication app(argc, argv);
- tst_QVolatileImage tc;
- return QTest::qExec(&tc, argc, argv);
-}
-
+QTEST_MAIN(tst_QVolatileImage)
#include "tst_qvolatileimage.moc"