src/corelib/plugin: sort #includes

Change-Id: I2de1b4dfacd443148279fffd16a3e4bdb1a49f88
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
Thiago Macieira 2021-10-01 21:53:14 -07:00
parent 96a1da00d2
commit f21522a4b4
7 changed files with 41 additions and 45 deletions

View File

@ -42,22 +42,24 @@
#ifndef QT_NO_QOBJECT
#include "qfactoryinterface.h"
#include "private/qcoreapplication_p.h"
#include "private/qduplicatetracker_p.h"
#include "private/qobject_p.h"
#include "qcbormap.h"
#include "qcborvalue.h"
#include "qendian.h"
#include "qjsonarray.h"
#include "qjsondocument.h"
#include "qjsonobject.h"
#include "qjsonvalue.h"
#include "qmap.h"
#include <qdir.h>
#include <qdebug.h>
#include "qmutex.h"
#include "qplugin.h"
#include "qplugin_p.h"
#include "qpluginloader.h"
#include "private/qobject_p.h"
#include "private/qcoreapplication_p.h"
#include "qcbormap.h"
#include "qcborvalue.h"
#include "qjsondocument.h"
#include "qjsonvalue.h"
#include "qjsonobject.h"
#include "qjsonarray.h"
#include "private/qduplicatetracker_p.h"
#include <qdebug.h>
#include <qdir.h>
#include <qtcore_tracepoints_p.h>

View File

@ -54,19 +54,18 @@
#include "QtCore/qglobal.h"
#ifndef QT_NO_QOBJECT
#include "QtCore/qobject.h"
#include "QtCore/qstringlist.h"
#include "QtCore/qcborvalue.h"
#include "QtCore/qjsonobject.h"
#include "QtCore/qjsondocument.h"
#include "QtCore/qmap.h"
#include "QtCore/qendian.h"
#include "QtCore/qobject.h"
#if QT_CONFIG(library)
#include "private/qlibrary_p.h"
# include "qlibrary_p.h"
#endif
QT_BEGIN_NAMESPACE
class QJsonDocument;
class QJsonObject;
QJsonDocument qJsonFromRawLibraryMetaData(const char *raw, qsizetype size, QString *errMsg);
class QFactoryLoaderPrivate;

View File

@ -37,37 +37,31 @@
** $QT_END_LICENSE$
**
****************************************************************************/
#include "qplatformdefs.h"
#include "qlibrary.h"
#include "qfactoryloader_p.h"
#include "qlibrary_p.h"
#include <qstringlist.h>
#include <q20algorithm.h>
#include <qdebug.h>
#include <qendian.h>
#include <qfile.h>
#include <qfileinfo.h>
#include <qmutex.h>
#include <qjsondocument.h>
#include <qmap.h>
#include <private/qcoreapplication_p.h>
#include <private/qsystemerror_p.h>
#include <qmutex.h>
#include <qstringlist.h>
#ifdef Q_OS_MAC
# include <private/qcore_mac_p.h>
#endif
#ifndef NO_ERRNO_H
#include <errno.h>
#endif // NO_ERROR_H
#include <qdebug.h>
#include <qlist.h>
#include <qdir.h>
#include <qendian.h>
#include <qjsondocument.h>
#include <qjsonvalue.h>
#include <private/qcoreapplication_p.h>
#include <private/qsystemerror_p.h>
#include "qelfparser_p.h"
#include "qfactoryloader_p.h"
#include "qmachparser_p.h"
#include <qtcore_tracepoints_p.h>
#include <QtCore/q20algorithm.h>
QT_BEGIN_NAMESPACE
#ifdef QT_NO_DEBUG

View File

@ -53,11 +53,12 @@
//
#include <QtCore/private/qglobal_p.h>
#include "QtCore/qlibrary.h"
#include "QtCore/qmutex.h"
#include "QtCore/qplugin.h"
#include "QtCore/qpointer.h"
#include "QtCore/qstringlist.h"
#include "QtCore/qplugin.h"
#ifdef Q_OS_WIN
# include "QtCore/qt_windows.h"
#endif

View File

@ -40,9 +40,9 @@
#include "qplatformdefs.h"
#include <qcoreapplication.h>
#include <qfile.h>
#include "qlibrary_p.h"
#include <qcoreapplication.h>
#include <private/qfilesystementry_p.h>
#include <private/qsimd_p.h>

View File

@ -39,8 +39,9 @@
#include "qplatformdefs.h"
#include "qlibrary_p.h"
#include "qfile.h"
#include "qdir.h"
#include "qfile.h"
#include "qfileinfo.h"
#include <private/qfilesystementry_p.h>

View File

@ -38,15 +38,14 @@
**
****************************************************************************/
#include "qplatformdefs.h"
#include "qplugin.h"
#include "qcoreapplication.h"
#include "qpluginloader.h"
#include <qfileinfo.h>
#include "qfactoryloader_p.h"
#include "qcoreapplication.h"
#include "qdebug.h"
#include "qdir.h"
#include "qfactoryloader_p.h"
#include "qfileinfo.h"
#include "qjsondocument.h"
QT_BEGIN_NAMESPACE