diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2018-10-05 12:38:03 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2018-10-09 06:27:14 +0000 |
commit | 0930d394d7e2aa51499fc4f735556c97da85afe8 (patch) | |
tree | 2fea16609f2280c19d05ca84face84fed07d6978 | |
parent | 876cd89e273851f6e430d1f9ea47f6e667716c89 (diff) |
Fix compilation when QT_NO_HTTP is definedv5.12.0-beta4v5.12.0-beta3v5.12.0-beta2
The feature macros are defined in a header, so it has to be included
first.
Change-Id: I3ed7c4978cb9cdde23ed37d0e963a24a6b07f335
Reviewed-by: Jesus Fernandez <Jesus.Fernandez@qt.io>
-rw-r--r-- | src/oauth/qabstractoauth2.cpp | 2 | ||||
-rw-r--r-- | src/oauth/qabstractoauthreplyhandler.cpp | 2 | ||||
-rw-r--r-- | src/oauth/qoauth1.cpp | 2 | ||||
-rw-r--r-- | src/oauth/qoauthhttpserverreplyhandler.cpp | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/oauth/qabstractoauth2.cpp b/src/oauth/qabstractoauth2.cpp index a3cbc04..96d338d 100644 --- a/src/oauth/qabstractoauth2.cpp +++ b/src/oauth/qabstractoauth2.cpp @@ -27,6 +27,8 @@ ** ****************************************************************************/ +#include <QtNetwork/qtnetwork-config.h> + #ifndef QT_NO_HTTP #include <qabstractoauth2.h> diff --git a/src/oauth/qabstractoauthreplyhandler.cpp b/src/oauth/qabstractoauthreplyhandler.cpp index b37dffc..7a87ac4 100644 --- a/src/oauth/qabstractoauthreplyhandler.cpp +++ b/src/oauth/qabstractoauthreplyhandler.cpp @@ -27,6 +27,8 @@ ** ****************************************************************************/ +#include <QtNetwork/qtnetwork-config.h> + #ifndef QT_NO_HTTP #include "qabstractoauthreplyhandler.h" diff --git a/src/oauth/qoauth1.cpp b/src/oauth/qoauth1.cpp index 928418e..9713a30 100644 --- a/src/oauth/qoauth1.cpp +++ b/src/oauth/qoauth1.cpp @@ -27,6 +27,8 @@ ** ****************************************************************************/ +#include <QtNetwork/qtnetwork-config.h> + #ifndef QT_NO_HTTP #include "qoauth1.h" diff --git a/src/oauth/qoauthhttpserverreplyhandler.cpp b/src/oauth/qoauthhttpserverreplyhandler.cpp index f07df96..dca4671 100644 --- a/src/oauth/qoauthhttpserverreplyhandler.cpp +++ b/src/oauth/qoauthhttpserverreplyhandler.cpp @@ -27,6 +27,8 @@ ** ****************************************************************************/ +#include <QtNetwork/qtnetwork-config.h> + #ifndef QT_NO_HTTP #include <qabstractoauth.h> |