+2007-11-20 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Adam Treat <treat@kde.org>.
+
+ Remove static linkage of QtWebKit against the ICO image format plugin.
+ Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
+
+ * WebCore.pro:
+ * platform/graphics/qt/ImageDecoderQt.cpp:
+
2007-11-20 David D. Kilzer <ddkilzer@webkit.org>
no-svg build broken after r27278
#LIBS += -L$$OUTPUT_DIR/lib -lJavaScriptCore
qt-port {
-!win32-* {
- LIBS += -L$$OUTPUT_DIR/WebKit/qt/Plugins
- LIBS += -lqtwebico
-}
INCLUDEPATH += \
$$PWD/platform/qt \
#include <QtGui/QImageReader>
#include <qdebug.h>
-#if !defined(Q_OS_WIN)
-Q_IMPORT_PLUGIN(qtwebico) //For ico format...
-#endif
-
namespace {
const QImage::Format DesiredFormat = QImage::Format_ARGB32;
const bool debugImageDecoderQt = false;
+2007-11-20 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Adam Treat <treat@kde.org>.
+
+ Remove static linkage of QtWebKit against the ICO image format plugin.
+
+ Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
+
+
+ * Plugins/Plugins.pro:
+
2007-11-20 Simon Hausmann <hausmann@kde.org>
Reviewed by George Staikos <staikos@kde.org>.
TEMPLATE = lib
TARGET = qtwebico
-CONFIG += static plugin
+CONFIG += plugin
HEADERS += ICOHandler.h
SOURCES += ICOHandler.cpp
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
unix:contains(QT_CONFIG, reduce_relocations):CONFIG += bsymbolic_functions
+
+target.path = $$[QT_INSTALL_PLUGINS]/imageformats
+INSTALLS += target
+