Network: don't include qglobal.h

Task-number: QTBUG-106722
Fixes: QTBUG-106728
Change-Id: Id0435ad2ffffdb159e44c1929df6ba904bd5b01a
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Mårten Nordheim 2024-02-13 14:55:31 +01:00
parent 21e9875d62
commit 175569e1ec
17 changed files with 6 additions and 21 deletions

View File

@ -15,7 +15,6 @@
// We mean it.
//
#include <QtCore/private/qglobal_p.h>
#include <QtCore/qdebug.h>
#include <type_traits>

View File

@ -17,7 +17,6 @@
#include "hpacktable_p.h"
#include <QtCore/qglobal.h>
#include <QtCore/qurl.h>
#include <vector>

View File

@ -16,7 +16,6 @@
//
#include <QtCore/qbytearray.h>
#include <QtCore/private/qglobal_p.h>
#include <QtCore/qpair.h>
#include <vector>

View File

@ -19,8 +19,6 @@
#include "hpack_p.h"
#include <QtCore/qendian.h>
#include <QtCore/qglobal.h>
#include <algorithm>
#include <vector>

View File

@ -18,7 +18,6 @@
#include <QtNetwork/qnetworkreply.h>
#include <QtCore/qloggingcategory.h>
#include <QtCore/qmetatype.h>
#include <QtCore/private/qglobal_p.h>
#include <QtCore/qmap.h>
#include <vector>

View File

@ -21,7 +21,6 @@
#include <private/qhttpnetworkconnectionchannel_p.h>
#include <private/qhttpnetworkrequest_p.h>
#include <QtCore/qglobal.h>
#include <QtCore/qstring.h>
#include <vector>

View File

@ -15,8 +15,6 @@
// We mean it.
//
#include <QtCore/private/qglobal_p.h>
QT_BEGIN_NAMESPACE
class QByteArray;

View File

@ -22,7 +22,6 @@
#include <QtCore/qbytearray.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qstring.h>
#include <QtCore/qglobal.h>
#include <QtCore/qpair.h>
#include <QtCore/qurl.h>
#include <QtCore/qcontainerfwd.h>

View File

@ -6,6 +6,10 @@
#include <QtNetwork/qtnetworkglobal.h>
#include <QtCore/qtclasshelpermacros.h>
#include <QtCore/qtypes.h>
#include <QtCore/qtypeinfo.h>
#include <utility>
#include <cstdint>

View File

@ -29,7 +29,6 @@
#include <QtCore/qnamespace.h>
#include <QtCore/qbytearray.h>
#include <QtCore/qglobal.h>
#include <QtCore/qobject.h>
#include <QtCore/qflags.h>
#include <QtCore/qhash.h>

View File

@ -24,8 +24,6 @@
#include <QtCore/qobject.h>
#include <QtCore/qflags.h>
#include <QtCore/qbytearrayview.h>
#include <QtCore/private/qglobal_p.h>
#if QT_CONFIG(ssl)
#include <QtNetwork/qsslconfiguration.h>
#endif

View File

@ -8,7 +8,6 @@
#include <QtCore/qloggingcategory.h>
#include <QtNetwork/qhostaddress.h>
#include <QtCore/qglobal.h>
#include <QtCore/qobject.h>
//

View File

@ -1,8 +1,6 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include <qglobal.h>
#include <QtNetwork/private/qtnetworkglobal_p.h>
#if QT_CONFIG(topleveldomain)

View File

@ -4,7 +4,7 @@
#ifndef QTNETWORKGLOBAL_H
#define QTNETWORKGLOBAL_H
#include <QtCore/qglobal.h>
#include <QtCore/qtcoreglobal.h>
#include <QtNetwork/qtnetwork-config.h>
#include <QtNetwork/qtnetworkexports.h>

View File

@ -16,7 +16,7 @@
//
#include <QtNetwork/qtnetworkglobal.h>
#include <QtCore/private/qglobal_p.h>
#include <QtCore/private/qtcoreglobal_p.h>
#include <QtNetwork/private/qtnetwork-config_p.h>
QT_BEGIN_NAMESPACE

View File

@ -9,8 +9,6 @@
#include "qssl_p.h"
#include "qdtls.h"
#include "qglobal.h"
/*!
\class QDtlsClientVerifier
\brief This class implements server-side DTLS cookie generation and verification.

View File

@ -33,7 +33,6 @@
#include <QtCore/qloggingcategory.h>
#include <QtCore/qnamespace.h>
#include <QtCore/qobject.h>
#include <QtCore/qglobal.h>
#include <QtCore/qstring.h>
#include <QtCore/qlist.h>
#include <QtCore/qmap.h>