Browse Source

Merge pull request #301 from Gelmir/static_favicon

Use qico plugin in static build. Required for RSS favicon capabilities.
adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
57a609a62c
  1. 4
      src/main.cpp
  2. 4
      src/src.pro

4
src/main.cpp

@ -34,6 +34,10 @@ @@ -34,6 +34,10 @@
#include <QLibraryInfo>
#ifndef DISABLE_GUI
#if defined(QBT_STATIC_QT)
#include <QtPlugin>
Q_IMPORT_PLUGIN(qico)
#endif
#include <QMessageBox>
#include <QStyleFactory>
#include <QStyle>

4
src/src.pro

@ -28,6 +28,10 @@ nox { @@ -28,6 +28,10 @@ nox {
DEFINES += DISABLE_GUI
} else {
QT += xml
CONFIG(static) {
DEFINES += QBT_STATIC_QT
QTPLUGIN += qico
}
TARGET = qbittorrent
}
QT += network

Loading…
Cancel
Save