forked from omniedgeio/omniedge-windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OmniEdge.pro
97 lines (83 loc) · 2.42 KB
/
OmniEdge.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
QT += core gui qml quick network networkauth xml websockets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QMAKE_LFLAGS_WINDOWS += /MANIFESTUAC:"level='requireAdministrator'"
#QMAKE_CXXFLAGS += /std:c++17 /std: latest
CONFIG += c++11
# 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). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES -= UNICODE
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
aboutdialog.cpp \
api.cpp \
downloadupdatedialog.cpp \
main.cpp \
menucontroller.cpp \
n2nworker.cpp \
#oauth.cpp \
#oauthreplyhandler.cpp \
#proxy.cpp \
runguard.cpp \
syslog.cpp \
tapmanager.cpp \
traymenu.cpp \
n2n/edge_utils.c \
n2n/minilzo.c \
n2n/transform_null.c \
n2n/transform_tf.c \
n2n/twofish.c \
n2n/wire.c \
n2n/win32/getopt.c \
n2n/win32/getopt1.c \
n2n/win32/version-msvc.c \
n2n/win32/wintap.c \
n2n/n2n.c \
updater.cpp
HEADERS += \
aboutdialog.h \
api.h \
downloadupdatedialog.h \
log.h \
menucontroller.h \
n2nworker.h \
#oauth.h \
#oauthreplyhandler.h \
#proxy.h \
runguard.h \
syslog.h \
tapmanager.h \
traymenu.h \
n2n/lzoconf.h \
n2n/lzodefs.h \
n2n/minilzo.h \
n2n/n2n.h \
n2n/n2n_transforms.h \
n2n/n2n_wire.h \
n2n/twofish.h \
n2n/uthash.h \
n2n/win32/getopt.h \
n2n/win32/n2n_win32.h \
n2n/win32/winconfig.h \
n2n/win32/wintap.h \
n2n/n2n_bridging_header.h \
updater.h
TRANSLATIONS += languages/zh_CN.ts \
languages/en_US.ts
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
RESOURCES += \
resources.qrc
RC_ICONS = "./images/logo.ico"
FORMS += \
aboutdialog.ui \
downloadupdatedialog.ui