mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Use qico plugin in static build. Required for RSS favicon capabilities.
This commit is contained in:
@@ -34,6 +34,10 @@
|
|||||||
#include <QLibraryInfo>
|
#include <QLibraryInfo>
|
||||||
|
|
||||||
#ifndef DISABLE_GUI
|
#ifndef DISABLE_GUI
|
||||||
|
#if defined(QBT_STATIC_QT)
|
||||||
|
#include <QtPlugin>
|
||||||
|
Q_IMPORT_PLUGIN(qico)
|
||||||
|
#endif
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QStyleFactory>
|
#include <QStyleFactory>
|
||||||
#include <QStyle>
|
#include <QStyle>
|
||||||
|
|||||||
@@ -45,3 +45,8 @@ else {
|
|||||||
|
|
||||||
DEFINES += WITH_GEOIP_EMBEDDED
|
DEFINES += WITH_GEOIP_EMBEDDED
|
||||||
message("On Windows, GeoIP database must be embedded.")
|
message("On Windows, GeoIP database must be embedded.")
|
||||||
|
|
||||||
|
CONFIG(static) {
|
||||||
|
DEFINES += QBT_STATIC_QT
|
||||||
|
QTPLUGIN += qico
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user