blob: 3517fb198c06d2119441588109a3303d87711363 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
TARGET = qtvirtualkeyboard_lipi
CONFIG += exceptions
QT += qml virtualkeyboard-private
HEADERS += \
lipiinputmethod_p.h \
lipiplugin.h \
lipisharedrecognizer_p.h \
lipiworker_p.h
SOURCES += \
lipiinputmethod.cpp \
lipiplugin.cpp \
lipisharedrecognizer.cpp \
lipiworker.cpp
OTHER_FILES += \
lipi.json
include(../../../config.pri)
INCLUDEPATH += \
../3rdparty/lipi-toolkit/src/include \
../3rdparty/lipi-toolkit/src/util/lib
LIBS += -L$$OUT_PWD/../../lib \
-lshaperecommon$$qtPlatformTargetSuffix() \
-lltkcommon$$qtPlatformTargetSuffix() \
-lltkutil$$qtPlatformTargetSuffix()
win32: LIBS += Advapi32.lib
else: QMAKE_USE += libdl
ltk_projects.files = $$PWD/../3rdparty/lipi-toolkit/projects
ltk_projects.path = $$VIRTUALKEYBOARD_INSTALL_DATA/lipi_toolkit
INSTALLS += ltk_projects
!prefix_build: COPIES += ltk_projects
!disable-hunspell {
QT += hunspellinputmethod-private
}
LAYOUT_FILES += $$LAYOUTS_BASE/content/layouts/fallback/handwriting.qml
contains(CONFIG, lang-en(_GB)?): LAYOUT_FILES += $$LAYOUTS_BASE/content/layouts/en_GB/handwriting.fallback
contains(CONFIG, lang-en(_US)?): LAYOUT_FILES += $$LAYOUTS_BASE/content/layouts/en_US/handwriting.fallback
contains(CONFIG, lang-id.*): LAYOUT_FILES += $$LAYOUTS_BASE/content/layouts/id_ID/handwriting.fallback
contains(CONFIG, lang-ms.*): LAYOUT_FILES += $$LAYOUTS_BASE/content/layouts/ms_MY/handwriting.fallback
contains(CONFIG, lang-nl.*): LAYOUT_FILES += $$LAYOUTS_BASE/content/layouts/nl_NL/handwriting.fallback
OTHER_FILES += \
$$LAYOUT_FILES
!isEmpty(LAYOUT_FILES) {
layouts.files = $$LAYOUT_FILES
layouts.base = $$LAYOUTS_BASE
layouts.prefix = $$LAYOUTS_PREFIX
RESOURCES += layouts
}
win32 {
QMAKE_TARGET_PRODUCT = "Qt Virtual Keyboard Lipi-Toolkit (Qt $$QT_VERSION)"
QMAKE_TARGET_DESCRIPTION = "Virtual Keyboard Extension for Qt."
}
PLUGIN_TYPE = virtualkeyboard
PLUGIN_CLASS_NAME = LipiPlugin
load(qt_plugin)
|