diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-01 13:56:22 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 15:03:23 +0200 |
commit | 5188ded26930645e4856c59561225040033e3187 (patch) | |
tree | d6ff7f464571e6e9bac9d044093221d64c672cdd /tests/auto/qscriptextensionplugin | |
parent | 3dc36ccf4ebaec07845263a2fbc90519604d333d (diff) | |
download | qtscript-5188ded26930645e4856c59561225040033e3187.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: I432719e9520662c9dda5eaa580f0b508de4120fe
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/qscriptextensionplugin')
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.pro b/tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.pro index 1fa9ee4..cca2b08 100644 --- a/tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.pro +++ b/tests/auto/qscriptextensionplugin/simpleplugin/simpleplugin.pro @@ -5,3 +5,4 @@ OTHER_FILES += simpleplugin.json QT = core script TARGET = simpleplugin DESTDIR = ../plugins/script +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/qscriptextensionplugin/staticplugin/staticplugin.pro b/tests/auto/qscriptextensionplugin/staticplugin/staticplugin.pro index 51b0a3b..476a34e 100644 --- a/tests/auto/qscriptextensionplugin/staticplugin/staticplugin.pro +++ b/tests/auto/qscriptextensionplugin/staticplugin/staticplugin.pro @@ -7,3 +7,4 @@ QT = core script DEFINES += QT_STATICPLUGIN TARGET = staticplugin DESTDIR = ../plugins/script +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/qscriptextensionplugin/test/test.pro b/tests/auto/qscriptextensionplugin/test/test.pro index 7601078..8bb0b9a 100644 --- a/tests/auto/qscriptextensionplugin/test/test.pro +++ b/tests/auto/qscriptextensionplugin/test/test.pro @@ -17,3 +17,4 @@ CONFIG(debug_and_release) { DESTDIR = .. } +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |