Qt 5.0 beta requires changing the default to the 5.0 API, disabling the deprecated code. However, tests should test (and often do) the compatibility API too, so turn it back on. Task-number: QTBUG-25053 Change-Id: I9589f57998af237f2e89c7799789dae5a13ef634 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
18 lines
409 B
Prolog
18 lines
409 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qpaintervideosurface
|
|
|
|
QT += multimedia-private multimediawidgets-private testlib
|
|
CONFIG += no_private_qt_headers_warning
|
|
contains(QT_CONFIG, opengl) | contains(QT_CONFIG, opengles2) {
|
|
QT += opengl
|
|
} else {
|
|
DEFINES += QT_NO_OPENGL
|
|
}
|
|
|
|
contains(QT_CONFIG, opengl): QT += opengl
|
|
|
|
SOURCES += tst_qpaintervideosurface.cpp
|
|
|
|
QT+=widgets
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|