diff --git a/tests/auto/qpaintervideosurface/qpaintervideosurface.pro b/tests/auto/qpaintervideosurface/qpaintervideosurface.pro index a6c686d6..0364c45b 100644 --- a/tests/auto/qpaintervideosurface/qpaintervideosurface.pro +++ b/tests/auto/qpaintervideosurface/qpaintervideosurface.pro @@ -1,6 +1,11 @@ load(qttest_p4) QT += multimediakit-private +contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2): !symbian { + QT += opengl +} else { + DEFINES += QT_NO_OPENGL +} # TARGET = tst_qpaintervideosurface # CONFIG += testcase