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>
21 lines
397 B
Prolog
21 lines
397 B
Prolog
TARGET = tst_qsoundeffect
|
|
|
|
QT += core multimedia-private testlib
|
|
CONFIG += no_private_qt_headers_warning
|
|
|
|
# This is more of a system test
|
|
CONFIG += testcase
|
|
|
|
SOURCES += tst_qsoundeffect.cpp
|
|
|
|
unix:!mac {
|
|
!contains(QT_CONFIG, pulseaudio) {
|
|
DEFINES += QT_MULTIMEDIA_QMEDIAPLAYER
|
|
}
|
|
}
|
|
|
|
TESTDATA += test.wav
|
|
|
|
win32: CONFIG += insignificant_test
|
|
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
|