diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-01 16:00:03 +0200 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-01 22:27:32 +0200 |
commit | ee0d11870e11f1cecccbbf8a3518f3e140fe181e (patch) | |
tree | 816baf7d549635fe5587d7410a9ba5e33791fc70 | |
parent | 61d09d7dae7d03e75c35498c89aed05bcfac47e2 (diff) |
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: I1923901450557f0c8119d415bdd31fba9f58de93
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r-- | src/qhttp/qhttp.pro | 1 | ||||
-rw-r--r-- | tests/auto/headersclean/headersclean.pro | 1 | ||||
-rw-r--r-- | tests/auto/qhttp/qhttp.pro | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/qhttp/qhttp.pro b/src/qhttp/qhttp.pro index 1ba2c9a..39350a1 100644 --- a/src/qhttp/qhttp.pro +++ b/src/qhttp/qhttp.pro @@ -14,3 +14,4 @@ load(qt_module_config) # Input HEADERS += qhttp.h qringbuffer_p.h qhttpauthenticator_p.h SOURCES += qhttp.cpp qhttpauthenticator.cpp +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/headersclean/headersclean.pro b/tests/auto/headersclean/headersclean.pro index c172387..957ae4c 100644 --- a/tests/auto/headersclean/headersclean.pro +++ b/tests/auto/headersclean/headersclean.pro @@ -1,2 +1,3 @@ QT = core testlib http include($${QT.core.sources}/../../tests/auto/other/headersclean/headersclean.pri) +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/auto/qhttp/qhttp.pro b/tests/auto/qhttp/qhttp.pro index b053b7c..d1710ae 100644 --- a/tests/auto/qhttp/qhttp.pro +++ b/tests/auto/qhttp/qhttp.pro @@ -20,3 +20,4 @@ wince*: { } else { DEFINES += SRCDIR=\\\"$$PWD/\\\" } +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |