diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-08-01 13:48:22 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 15:03:18 +0200 |
commit | 8934e35bde9ec67b4b3a93217d73a0554b15d3b2 (patch) | |
tree | b97ce3b2c7e35a55b0c5713168c7026e07460161 /tests/auto/xmlpatternsschemats | |
parent | 9d30343dcd5344e748a28a0f23557a0c89c6d4c3 (diff) | |
download | qtxmlpatterns-8934e35bde9ec67b4b3a93217d73a0554b15d3b2.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: Iab3d9fa844e74b7f8a17dbe1c26f9df6fa8dfadc
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/xmlpatternsschemats')
-rw-r--r-- | tests/auto/xmlpatternsschemats/xmlpatternsschemats.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/xmlpatternsschemats/xmlpatternsschemats.pro b/tests/auto/xmlpatternsschemats/xmlpatternsschemats.pro index c4173e6..c9fe689 100644 --- a/tests/auto/xmlpatternsschemats/xmlpatternsschemats.pro +++ b/tests/auto/xmlpatternsschemats/xmlpatternsschemats.pro @@ -21,3 +21,4 @@ QT += xml testlib INCLUDEPATH += \ ../xmlpatternsxqts \ ../xmlpatternssdk +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |