summaryrefslogtreecommitdiff
path: root/tests/auto/unit/qmediaplayerwidgets
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-01 16:35:23 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-01 22:27:40 +0200
commit8e49af7ef56f9b58e5a51c80b40fe674ec432b87 (patch)
tree0733081e8209c2917fe1f00af8db974bd7a80596 /tests/auto/unit/qmediaplayerwidgets
parent218fff76d51e29f7808ce670a7c61ef9c429046f (diff)
downloadqtmultimedia-8e49af7ef56f9b58e5a51c80b40fe674ec432b87.tar.gz
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>
Diffstat (limited to 'tests/auto/unit/qmediaplayerwidgets')
-rw-r--r--tests/auto/unit/qmediaplayerwidgets/qmediaplayerwidgets.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/unit/qmediaplayerwidgets/qmediaplayerwidgets.pro b/tests/auto/unit/qmediaplayerwidgets/qmediaplayerwidgets.pro
index 97232f934..ce723fbe1 100644
--- a/tests/auto/unit/qmediaplayerwidgets/qmediaplayerwidgets.pro
+++ b/tests/auto/unit/qmediaplayerwidgets/qmediaplayerwidgets.pro
@@ -5,3 +5,4 @@ SOURCES += tst_qmediaplayerwidgets.cpp
include (../qmultimedia_common/mock.pri)
include (../qmultimedia_common/mockplayer.pri)
+DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0