diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-08-22 09:43:26 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2019-08-22 11:21:34 +0200 |
commit | 4300dccba56ed1904c3481a4b19fdc5475f6b3e1 (patch) | |
tree | f23ab50fbbc070af1dbc0817fa66b869bbaec60f /src/network/access/qhttp2configuration.h | |
parent | 9db230efa92fec992132fcf7e4bb7fda9707b152 (diff) |
Fix a broken build
QHttp2Configuration is using entities (read definitions) from http2,
which is only conditionally included in the *.pri file (requires http).
So as a result we had linker errors.
Fixes: QTBUG-77759
Change-Id: I8b33b0a4802a295f67edad03da3743b24f7ce514
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/network/access/qhttp2configuration.h')
-rw-r--r-- | src/network/access/qhttp2configuration.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/access/qhttp2configuration.h b/src/network/access/qhttp2configuration.h index 544e3a3d98..e5c235e2be 100644 --- a/src/network/access/qhttp2configuration.h +++ b/src/network/access/qhttp2configuration.h @@ -44,6 +44,10 @@ #include <QtCore/qshareddata.h> +#ifndef Q_CLANG_QDOC +QT_REQUIRE_CONFIG(http); +#endif + QT_BEGIN_NAMESPACE class QHttp2ConfigurationPrivate; |