diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-26 18:25:06 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-07-29 14:33:23 +0200 |
commit | dfeedc17a25d8d2fdc4e52927e7c34f1ff045c32 (patch) | |
tree | b1f658fe3437db8a794520328845af18048688e0 /tests/auto/corelib/global | |
parent | 57337f21c79f0478927a1f3a685af29883540e5e (diff) |
Disable deprecation warnings in some tests
The tests are testing deprecated functionality, which we
still want to test.
Change-Id: Iad6ed35800896170c17fe019c7a6ecda22398ac3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib/global')
-rw-r--r-- | tests/auto/corelib/global/qflags/tst_qflags.cpp | 2 | ||||
-rw-r--r-- | tests/auto/corelib/global/qrand/tst_qrand.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/global/qflags/tst_qflags.cpp b/tests/auto/corelib/global/qflags/tst_qflags.cpp index 7060fc8b31..56319f215d 100644 --- a/tests/auto/corelib/global/qflags/tst_qflags.cpp +++ b/tests/auto/corelib/global/qflags/tst_qflags.cpp @@ -27,6 +27,8 @@ ****************************************************************************/ #include <QtTest/QtTest> +QT_WARNING_DISABLE_DEPRECATED + class tst_QFlags: public QObject { Q_OBJECT diff --git a/tests/auto/corelib/global/qrand/tst_qrand.cpp b/tests/auto/corelib/global/qrand/tst_qrand.cpp index 6a4b2b322b..279f4e0a34 100644 --- a/tests/auto/corelib/global/qrand/tst_qrand.cpp +++ b/tests/auto/corelib/global/qrand/tst_qrand.cpp @@ -27,6 +27,8 @@ ****************************************************************************/ #include <QtTest/QtTest> +QT_WARNING_DISABLE_DEPRECATED + class tst_QRand: public QObject { Q_OBJECT |