diff options
| author | Linus Jahn <lnj@kaidan.im> | 2021-03-17 18:54:34 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2021-03-17 19:12:46 +0100 |
| commit | 6d778d84fd2faac6a899a1c70f2dcb9bd4e0b164 (patch) | |
| tree | 4af0ecd72b191d77c79f760a99dda172d41036ee /src/base/QXmppGlobal.h.in | |
| parent | 84b387c198a1ad368c0fc16a776ecaef85e3b1b2 (diff) | |
| download | qxmpp-6d778d84fd2faac6a899a1c70f2dcb9bd4e0b164.tar.gz | |
Fix build with Qt 5.7
We only test 5.9 with the CI... :/
Diffstat (limited to 'src/base/QXmppGlobal.h.in')
| -rw-r--r-- | src/base/QXmppGlobal.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/QXmppGlobal.h.in b/src/base/QXmppGlobal.h.in index 7982f3b9..5f94196d 100644 --- a/src/base/QXmppGlobal.h.in +++ b/src/base/QXmppGlobal.h.in @@ -73,5 +73,9 @@ inline QLatin1String QXmppVersion() #define Q_DECL_ENUMERATOR_DEPRECATED_X(msg) #endif +#ifndef QT_WARNING_DISABLE_DEPRECATED +#define QT_WARNING_DISABLE_DEPRECATED +#endif + #endif // QXMPPGLOBAL_H |
