From 4300dccba56ed1904c3481a4b19fdc5475f6b3e1 Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Thu, 22 Aug 2019 09:43:26 +0200 Subject: 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 Reviewed-by: Paul Wicking --- src/network/access/qhttp2configuration.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/network/access/qhttp2configuration.h') 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 +#ifndef Q_CLANG_QDOC +QT_REQUIRE_CONFIG(http); +#endif + QT_BEGIN_NAMESPACE class QHttp2ConfigurationPrivate; -- cgit v1.2.3