aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/x11vkbwrapper/x11vkbwrapper.pro
blob: bb954c80595762f88cc7887e9bcecf0acac6edff (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
TEMPLATE = app
TARGET = x11vkbwrapper

QT += qml quick dbus virtualkeyboard svg
CONFIG += c++11

static {
    QT += svg
    QTPLUGIN += qtvirtualkeyboardplugin
}

# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Refer to the documentation for the
# deprecated API to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# Uncomment below line and re-build before running tests.
# Enables writing of the current selected language to a json file for the test application to pick up.
#DEFINES += QT_TESTING_RUN

##### Skip Debug prints if Release build
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT

SOURCES += \
    handlelanguagechange.cpp \
    main.cpp \
    handlekeyevents.cpp \
    handleatspievents.cpp \
    handledbusforchrome.cpp \
    vkbhidetimer.cpp

HEADERS += \
    handlekeyevents.h \
    handleatspievents.h \
    handledbusforchrome.h \
    common_defs.h \
    handlelanguagechange.h \
    keysymmapsforfakeinput.h \
    vkbhidetimer.h \
    xcbkeyboard.h

RESOURCES += qml.qrc

OTHER_FILES += main.qml

INCLUDEPATH += /usr/include/X11
INCLUDEPATH += /usr/include/at-spi-2.0
INCLUDEPATH += /usr/lib/x86_64-linux-gnu/glib-2.0/include
INCLUDEPATH += /usr/include/glib-2.0
INCLUDEPATH += /usr/include/dbus-1.0
INCLUDEPATH += /usr/lib/x86_64-linux-gnu/dbus-1.0/include

LIBS += -lXtst -lX11 -latspi -lxdo