forked from krogank9/WifiMouseServer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WifiMouseServer.pro
executable file
·76 lines (64 loc) · 1.76 KB
/
WifiMouseServer.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
#-------------------------------------------------
#
# Project created by QtCreator 2017-07-30T12:52:11
#
#-------------------------------------------------
VERSION = 1.1
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
QMAKE_TARGET_COMPANY = WifiMouseServer Authors
QMAKE_TARGET_PRODUCT = WifiMouseServer
QMAKE_TARGET_DESCRIPTION = Desktop companion app for WifiMouse on Android
QMAKE_TARGET_COPYRIGHT = (C)2020 WifiMouseServer Authors
QT += core gui widgets
greaterThan(QT_MAJOR_VERSION, 5): QT += widgets
QT += network
QT += bluetooth
win32 {
SOURCES += fakeinput-windows.cpp
LIBS += -luser32 -lpdh
RC_ICONS = win_icon.ico
}
macx {
LIBS += -framework ApplicationServices
SOURCES += fakeinput-mac.cpp
ICON = $${PWD}/MacIcon.icns
#note: on Mac had to edit ~/Qt/ver/mkspecs/macx-clang/Info.plist to add
#LSUIElement 1 to hide from dock
}
linux {
# to compile qt statically:
#./configure -static -prefix /home/computer/Qt-static -release -nomake examples -skip qtwebengine -qt-xcb -qt-xkbcommon
LIBS += -lXtst -lX11
SOURCES += fakeinput-linux.cpp
HEADERS += fakeinput-linux-keysyms-map.h
QMAKE_LFLAGS += -no-pie
}
TARGET = WifiMouseServer
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
networkthread.cpp \
runguard.cpp \
setpassworddialog.cpp \
abstractedserver.cpp \
encryptutils.cpp \
aes.c \
fileutils.cpp \
abstractedsocket.cpp \
helpipdialog.cpp
HEADERS += mainwindow.h \
networkthread.h \
runguard.h \
setpassworddialog.h \
fakeinput.h \
abstractedserver.h \
encryptutils.h \
aes.h \
fileutils.h \
abstractedsocket.h \
helpipdialog.h
FORMS += mainwindow.ui \
setpassworddialog.ui \
helpipdialog.ui
RESOURCES += \
resources.qrc