-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathopenterfaceQT.pro
160 lines (138 loc) · 3.79 KB
/
openterfaceQT.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
#-------------------------------------------------
#
# Project created by QtCreator 2024-04-02T19:21:24
#
#-------------------------------------------------
TARGET = openterfaceQT
TEMPLATE = app
QT += core gui multimedia multimediawidgets serialport concurrent svg network
QT += core gui multimedia multimediawidgets serialport concurrent svg network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
SOURCES += main.cpp \
target/mouseeventdto.cpp \
host/audiomanager.cpp \
host/cameramanager.cpp \
ui/fpsspinbox.cpp \
ui/serialportdebugdialog.cpp \
ui/settingdialog.cpp \
ui/statuswidget.cpp \
video/videohid.cpp \
ui/helppane.cpp \
ui/mainwindow.cpp \
ui/metadatadialog.cpp \
ui/videopane.cpp \
ui/globalsetting.cpp \
ui/toolbarmanager.cpp \
ui/toggleswitch.cpp \
ui/loghandler.cpp \
ui/inputhandler.cpp \
ui/versioninfomanager.cpp \
ui/statusbarmanager.cpp \
ui/logpage.cpp \
ui/hardwarepage.cpp \
ui/videopage.cpp \
ui/audiopage.cpp \
ui/cameraajust.cpp \
ui/scripttool.cpp \
ui/TaskManager.cpp \
ui/envdialog.cpp \
host/HostManager.cpp \
serial/SerialPortManager.cpp \
target/KeyboardManager.cpp \
target/MouseManager.cpp \
host/audiothread.cpp \
host/usbcontrol.cpp \
scripts/Lexer.cpp \
scripts/Parser.cpp \
scripts/semanticAnalyzer.cpp \
scripts/KeyboardMouse.cpp \
target/KeyboardLayouts.cpp \
regex/RegularExpression.cpp \
server/tcpServer.cpp \
scripts/scriptEditor.cpp
HEADERS += \
global.h \
target/mouseeventdto.h \
host/audiomanager.h \
host/cameramanager.h \
ui/fpsspinbox.h \
ui/serialportdebugdialog.h \
ui/settingdialog.h \
ui/statuswidget.h \
video/videohid.h \
ui/helppane.h \
ui/mainwindow.h \
ui/metadatadialog.h \
ui/videopane.h \
ui/globalsetting.h \
ui/statusevents.h \
ui/toolbarmanager.h \
ui/toggleswitch.h \
ui/loghandler.h \
ui/inputhandler.h \
ui/versioninfomanager.h \
ui/statusbarmanager.h \
ui/logpage.h \
ui/hardwarepage.h \
ui/videopage.h \
ui/audiopage.h \
ui/cameraajust.h \
ui/scripttool.h \
ui/TaskManager.h \
ui/envdialog.h \
host/HostManager.h \
serial/ch9329.h \
serial/SerialPortManager.h \
target/KeyboardManager.h \
target/MouseManager.h \
target/Keymapping.h \
resources/version.h \
host/audiothread.h \
host/usbcontrol.h \
scripts/Lexer.h \
scripts/Parser.h \
scripts/semanticAnalyzer.h \
scripts/KeyboardMouse.h \
server/tcpServer.h \
regex/RegularExpression.h \
target/KeyboardLayouts.h \
scripts/scriptEditor.h
FORMS += \
ui/mainwindow.ui \
ui/settingdialog.ui \
ui/envdialog.ui
RESOURCES += \
openterfaceQT.rc \
ui/mainwindow.qrc \
config/keyboards/keyboard_layouts.qrc
# Copy keyboard layout files to build directory
CONFIG += file_copies
COPIES += keyboard_layouts
keyboard_layouts.files = $$files($$PWD/config/keyboards/*.json)
keyboard_layouts.path = $$OUT_PWD/config/keyboards
# Create directories if they don't exist
system($$QMAKE_MKDIR $$shell_path($$PWD/config/keyboards))
system($$QMAKE_MKDIR $$shell_path($$OUT_PWD/config/keyboards))
# Link against the HID library
win32:LIBS += -lhid
win32:LIBS += -lsetupapi
win32 {
INCLUDEPATH += $$PWD/lib
LIBS += -L$$PWD/lib -llibusb-1.0 -loleaut32 -lwinpthread
RESOURCES += driver/windows/drivers.qrc
}
unix {
INCLUDEPATH += /usr/include/
LIBS += -lusb-1.0
RESOURCES += driver/linux/drivers.qrc
}
# Set platform-specific installation paths
win32 {
target.path = $$(PROGRAMFILES)/openterfaceQT
} else {
target.path = /usr/local/bin
}
INSTALLS += target
RC_FILE = openterfaceQT.rc
DEPENDPATH += $$PWD/''
#DEFINES += ONLINE_VERSION