1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-22 19:56:34 +01:00
falkonOfficial/src/lib/plugins/qtwebkit/qtwebkit-plugins.pri
nowrep 47eecba4da Added QtWebKit platform plugin for notifications and spellcheck.
It's mostly just copied implementation from qtwebkit-plugins repo.
Spellcheck is only very basic.

Spellcheck will be automaticaly compiled if pkg-config detects
installed hunspell library.
2013-02-03 18:14:57 +01:00

25 lines
636 B
Plaintext

HEADERS += $$PWD/qtwebkitplugin.h \
$$PWD/notifications/notificationpresenter.h \
$$[QT_INSTALL_HEADERS]/QtWebKit/qwebkitplatformplugin.h
SOURCES += $$PWD/qtwebkitplugin.cpp \
$$PWD/notifications/notificationpresenter.cpp \
DEFINES *= QT_STATICPLUGIN
unix:contains(DEFINES, USE_QTWEBKIT_2_3):system(pkg-config --exists hunspell) {
HEADERS += $$PWD/spellcheck/spellcheck.h \
$$PWD/spellcheck/speller.h \
SOURCES += $$PWD/spellcheck/spellcheck.cpp \
$$PWD/spellcheck/speller.cpp \
DEFINES *= USE_HUNSPELL
LIBS += $$system(pkg-config --libs hunspell)
}
win{
# TODO
}