mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 14:42:29 -06:00
Move to separate headers
Hopefully this can speed up compilation times. https://doc.qt.io/qt-6/qtglobal.html#details PR #19430.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <Qt>
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#if !defined(Q_OS_WIN) && (!defined(Q_OS_UNIX) || defined(Q_OS_MACOS) || defined(QT_FEATURE_icu))
|
||||
#define QBT_USE_QCOLLATOR
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtAssert>
|
||||
#include <QByteArray>
|
||||
|
||||
#ifndef ZLIB_CONST
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <random>
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QtSystemDetection>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <Windows.h>
|
||||
|
||||
Reference in New Issue
Block a user