-
Notifications
You must be signed in to change notification settings - Fork 2
/
DrCOM_JLU_Qt.pro
80 lines (65 loc) · 2.61 KB
/
DrCOM_JLU_Qt.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
#-------------------------------------------------
#
# Project created by QtCreator 2019-03-03T13:30:28
#
#-------------------------------------------------
QT += core gui network widgets
RC_ICONS = images/icon.ico
# translations
TRANSLATIONS += ts/DrCOM_zh_CN.ts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = DrCOM_JLU_Qt
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as 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
# You can also make your code fail to compile if you use 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
CONFIG += c++11
SOURCES += \
main.cpp \
mainwindow.cpp \
dogcomcontroller.cpp \
interruptiblesleeper.cpp \
dogcom.cpp \
encrypt/md4.cpp \
encrypt/md5.cpp \
encrypt/sha1.cpp \
DogcomSocket.cpp
HEADERS += \
mainwindow.h \
dogcomcontroller.h \
constants.h \
interruptiblesleeper.h \
dogcom.h \
encrypt/md4.h \
encrypt/md5.h \
encrypt/sha1.h \
DogcomSocket.h
FORMS += \
mainwindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
DrCOM_JLU_Qt.qrc
# Single Application implementation
include(singleinstance/singleapplication.pri)
DEFINES += QAPPLICATION_CLASS=QApplication
VERSION = 1.0.0.6
win32:LIBS += -lwsock32
# 更新日志:
# v 0.0.0.0 实现基本功能
# v 1.0.0.1 修复适配高DPI时只窗口大小适配但字号不适配的bug
# v 1.0.0.2 增加重启功能(能解决一些网络的错误
# 调整字体为微软雅黑10号(就是win下正常的字体
# v 1.0.0.3 没有这个版本,上次该发布0.2版本时候压缩包名字打错了。。。应该为1.0.0.2的,所以跳过这个版本号
# v 1.0.0.4 优化用户体验,调整掉线时的提示信息,增加掉线时直接重启客户端的提示
# v 1.0.0.5 解决不稳定的bug,自动重启客户端重新登录,新增日志功能,方便查错
# v 1.0.0.6 更换QUdpSocket为win和linux原生接口,增强稳定性(并不知道为什么QUdpSocket要设置一个状态
# 增加了两个checkbox可选关闭校园网之窗和隐藏登录窗口