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>
17 lines
534 B
Prolog
17 lines
534 B
Prolog
CONFIG += testcase
|
|
TARGET = tst_qdeclarativeaudio
|
|
|
|
QT += multimedia-private qml testlib
|
|
CONFIG += no_private_qt_headers_warning
|
|
|
|
HEADERS += \
|
|
$$QT.multimedia.sources/../imports/multimedia/qdeclarativeaudio_p.h \
|
|
$$QT.multimedia.sources/../imports/multimedia/qdeclarativemediametadata_p.h
|
|
|
|
SOURCES += \
|
|
tst_qdeclarativeaudio.cpp \
|
|
$$QT.multimedia.sources/../imports/multimedia/qdeclarativeaudio.cpp
|
|
|
|
INCLUDEPATH += $$QT.multimedia.sources/../imports/multimedia
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|