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/xmlpatternsxslts | |
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/xmlpatternsxslts')
-rw-r--r-- | tests/auto/xmlpatternsxslts/xmlpatternsxslts.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/xmlpatternsxslts/xmlpatternsxslts.pro b/tests/auto/xmlpatternsxslts/xmlpatternsxslts.pro index f9dc1c2..3df3d78 100644 --- a/tests/auto/xmlpatternsxslts/xmlpatternsxslts.pro +++ b/tests/auto/xmlpatternsxslts/xmlpatternsxslts.pro @@ -23,3 +23,4 @@ wince*: { } requires(contains(QT_CONFIG,private_tests)) +DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 |