diff options
author | Kalle Lehtonen <kalle.ju.lehtonen@nokia.com> | 2011-06-09 16:15:56 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-05 06:49:42 +0200 |
commit | e33b74bd7058cc640a6d5482f78eb6ba3f023660 (patch) | |
tree | c078d3958eae510b5d933bcdda89b41d1e0a3a8f /tests | |
parent | a3ec7105dc096309a844f36c13229d29270d3401 (diff) |
Fix for QPainterVideoSurface autotest
Autotest missing related OpenGL defines compared to the library.
Task-number: QTMOBILITY-1662
Change-Id: I2e417865a633058bb67ee30c07be53bab049bea6
(cherry picked from commit 68ef2e67968f4887a2d83e37f89f827d5ce36788)
Reviewed-on: http://codereview.qt.nokia.com/976
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Goddard
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qpaintervideosurface/qpaintervideosurface.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qpaintervideosurface/qpaintervideosurface.pro b/tests/auto/qpaintervideosurface/qpaintervideosurface.pro index a6c686d6d..0364c45b0 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 |