-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMouseAssistant.pro
More file actions
47 lines (34 loc) · 1007 Bytes
/
Copy pathMouseAssistant.pro
File metadata and controls
47 lines (34 loc) · 1007 Bytes
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
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
# 设置编码
CODECFORTR = UTF-8
CODECFORSRC = UTF-8
CONFIG += c++17
QMAKE_PROJECT_DEPTH = 0
#win32:CONFIG(release, debug|release) {
# QMAKE_LFLAGS += /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\"
#}
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
win32:LIBS += -lgdi32
SOURCES += \
MouseAssistantStd.cpp \
aboutmedlg.cpp \
main.cpp
HEADERS += \
MouseAssistantStd.h \
aboutmedlg.h
# 添加 User32.lib 库链接
LIBS += -luser32
RC_ICONS = ./mouse.ico
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
res.qrc
FORMS += \
aboutmedlg.ui
DISTFILES += \
style.qss