Set the Qt API level to compatibility mode in all tests.

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>
This commit is contained in:
Thiago Macieira
2012-08-01 16:35:23 +02:00
committed by Qt by Nokia
parent 218fff76d5
commit 8e49af7ef5
57 changed files with 58 additions and 0 deletions

View File

@@ -19,3 +19,4 @@ include (../qmultimedia_common/mock.pri)
include (../qmultimedia_common/mockdecoder.pri)
SOURCES += tst_qaudiodecoder.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0