mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-16 21:11:50 +03:00
Merge pull request #301 from Gelmir/static_favicon
Use qico plugin in static build. Required for RSS favicon capabilities.
This commit is contained in:
commit
57a609a62c
2 changed files with 8 additions and 0 deletions
|
@ -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>
|
||||||
|
|
|
@ -28,6 +28,10 @@ nox {
|
||||||
DEFINES += DISABLE_GUI
|
DEFINES += DISABLE_GUI
|
||||||
} else {
|
} else {
|
||||||
QT += xml
|
QT += xml
|
||||||
|
CONFIG(static) {
|
||||||
|
DEFINES += QBT_STATIC_QT
|
||||||
|
QTPLUGIN += qico
|
||||||
|
}
|
||||||
TARGET = qbittorrent
|
TARGET = qbittorrent
|
||||||
}
|
}
|
||||||
QT += network
|
QT += network
|
||||||
|
|
Loading…
Reference in a new issue