Use qico plugin in static build. Required for RSS favicon capabilities.

This commit is contained in:
Nick Tiskov 2012-12-28 15:40:22 +04:00
parent bb1663636a
commit 0cdb833aa6
2 changed files with 9 additions and 0 deletions

View file

@ -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>

View file

@ -45,3 +45,8 @@ else {
DEFINES += WITH_GEOIP_EMBEDDED
message("On Windows, GeoIP database must be embedded.")
CONFIG(static) {
DEFINES += QBT_STATIC_QT
QTPLUGIN += qico
}