mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 12:48:04 -06:00
@@ -199,7 +199,7 @@ target_link_libraries(qbt_gui
|
||||
PRIVATE
|
||||
qbt_base
|
||||
PUBLIC
|
||||
Qt5::Gui Qt5::Widgets
|
||||
Qt::Gui Qt::Widgets
|
||||
)
|
||||
|
||||
if (DBUS)
|
||||
@@ -219,10 +219,10 @@ if ((CMAKE_SYSTEM_NAME STREQUAL "Windows") OR (CMAKE_SYSTEM_NAME STREQUAL "Darwi
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Windows")
|
||||
target_link_libraries(qbt_gui PRIVATE
|
||||
Qt5::WinExtras
|
||||
PowrProf
|
||||
)
|
||||
target_link_libraries(qbt_gui PRIVATE PowrProf)
|
||||
if (NOT QT6)
|
||||
target_link_libraries(qbt_gui PRIVATE Qt5::WinExtras)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
@@ -230,7 +230,5 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
macutilities.h
|
||||
macutilities.mm
|
||||
)
|
||||
target_link_libraries(qbt_gui PRIVATE
|
||||
objc
|
||||
)
|
||||
target_link_libraries(qbt_gui PRIVATE objc)
|
||||
endif()
|
||||
|
||||
@@ -55,7 +55,6 @@
|
||||
|
||||
#include "base/bittorrent/session.h"
|
||||
#include "base/bittorrent/sessionstatus.h"
|
||||
#include "base/bittorrent/torrent.h"
|
||||
#include "base/global.h"
|
||||
#include "base/logger.h"
|
||||
#include "base/net/downloadmanager.h"
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
#include <QSystemTrayIcon>
|
||||
#endif
|
||||
|
||||
#include "base/bittorrent/torrent.h"
|
||||
|
||||
class QCloseEvent;
|
||||
class QFileSystemWatcher;
|
||||
class QSplitter;
|
||||
@@ -57,11 +59,6 @@ class TorrentCreatorDialog;
|
||||
class TransferListFiltersWidget;
|
||||
class TransferListWidget;
|
||||
|
||||
namespace BitTorrent
|
||||
{
|
||||
class Torrent;
|
||||
}
|
||||
|
||||
namespace Net
|
||||
{
|
||||
struct DownloadResult;
|
||||
|
||||
@@ -38,10 +38,8 @@
|
||||
#include <QUrl>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "base/bittorrent/infohash.h"
|
||||
#include "base/bittorrent/session.h"
|
||||
#include "base/bittorrent/torrent.h"
|
||||
#include "base/bittorrent/trackerentry.h"
|
||||
#include "base/global.h"
|
||||
#include "base/logger.h"
|
||||
#include "base/net/downloadmanager.h"
|
||||
|
||||
@@ -32,6 +32,9 @@
|
||||
#include <QListWidget>
|
||||
#include <QtContainerFwd>
|
||||
|
||||
#include "base/bittorrent/infohash.h"
|
||||
#include "base/bittorrent/trackerentry.h"
|
||||
|
||||
class QCheckBox;
|
||||
class QResizeEvent;
|
||||
|
||||
@@ -40,8 +43,6 @@ class TransferListWidget;
|
||||
namespace BitTorrent
|
||||
{
|
||||
class Torrent;
|
||||
class TorrentID;
|
||||
struct TrackerEntry;
|
||||
}
|
||||
|
||||
namespace Net
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <QWheelEvent>
|
||||
|
||||
#include "base/bittorrent/common.h"
|
||||
#include "base/bittorrent/infohash.h"
|
||||
#include "base/bittorrent/session.h"
|
||||
#include "base/bittorrent/torrent.h"
|
||||
#include "base/bittorrent/trackerentry.h"
|
||||
|
||||
@@ -29,9 +29,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <QtContainerFwd>
|
||||
#include <QTreeView>
|
||||
|
||||
#include "base/bittorrent/infohash.h"
|
||||
|
||||
class MainWindow;
|
||||
class TransferListModel;
|
||||
class TransferListSortModel;
|
||||
@@ -39,7 +42,6 @@ class TransferListSortModel;
|
||||
namespace BitTorrent
|
||||
{
|
||||
class Torrent;
|
||||
class TorrentID;
|
||||
}
|
||||
|
||||
enum class CopyInfohashPolicy
|
||||
|
||||
Reference in New Issue
Block a user