-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcsetkeyboard.pro
executable file
·76 lines (61 loc) · 2.01 KB
/
csetkeyboard.pro
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
HEADERS += src/config.h \
src/tobiilistener.h \
src/samplepoint.h \
src/timer.h \
src/managers/experimentmanager.h \
src/keyboard.h \
src/mouselistener.h \
src/managers/gazemanager.h \
src/managers/wordmanager.h
SOURCES += src/main.cpp \
src/config.cpp \
src/tobiilistener.cpp \
src/samplepoint.cpp \
src/timer.cpp \
src/managers/experimentmanager.cpp \
src/keyboard.cpp \
src/mouselistener.cpp \
src/managers/gazemanager.cpp \
src/managers/wordmanager.cpp
TEMPLATE = app
QT += qml quick widgets
CONFIG += c++11
RESOURCES += qml.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Default rules for deployment.
include(deployment.pri)
OTHER_FILES += assets/* \
configuration/* \
feedbackExp/userConfig/* \
/usr/include/python2.7/*
win32:INCLUDEPATH += c:\Python27\include\ C:\Python27\libs\ "C:\Program Files (x86)\presage\include" "C:\Program Files (x86)\presage\bin" \
$$PWD/include
win32:LIBS += C:\Python27\libs\python27.lib -L"C:\Program Files (x86)\presage\bin" -L"C:\Program Files (x86)\presage\lib" -lpresage
unix:INCLUDEPATH += /usr/include/python2.7
unix:LIBS += -lpython2.7 -lpresage
win32 {
# Copy DLLs
DEST = $${OUT_PWD}
!contains(QMAKE_TARGET.arch, x86_64) {
## Windows x86 (32bit)
message("x86 build")
SRC = $$PWD/lib/x86/Tobii.EyeX.Client.dll
LIBS += -L$$PWD/lib/x86/ -lTobii.EyeX.Client
} else {
## Windows x64 (64bit)
message("x86_64 build")
SRC = $$PWD/lib/x64/Tobii.EyeX.Client.dll
LIBS += -L$$PWD/lib/x64/ -lTobii.EyeX.Client
}
SRC ~= s,/,\\,g
DEST ~= s,/,\\,g
copydata.commands = $(COPY_DIR) $$SRC $$DEST
first.depends = $(first) copydata
export(first.depends)
export(copydata.commands)
QMAKE_EXTRA_TARGETS += first copydata
}
DISTFILES += config/experiments.json \
qml/qmldir \
assets/fonts/fontawesome-webfont.ttf