mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-22 19:56:34 +01:00
47eecba4da
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.
25 lines
636 B
Plaintext
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
|
|
}
|