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>
20 lines
465 B
Prolog
20 lines
465 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qmediaplaylist
|
|
|
|
include (../qmultimedia_common/mockplaylist.pri)
|
|
|
|
QT += multimedia-private testlib
|
|
CONFIG += no_private_qt_headers_warning
|
|
|
|
HEADERS += \
|
|
$$QT.multimedia.sources/../plugins/m3u/qm3uhandler.h
|
|
|
|
SOURCES += \
|
|
tst_qmediaplaylist.cpp \
|
|
$$QT.multimedia.sources/../plugins/m3u/qm3uhandler.cpp
|
|
|
|
INCLUDEPATH += $$QT.multimedia.sources/../plugins/m3u
|
|
|
|
TESTDATA += testdata/*
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|