2021-07-02 09:19:02 +00:00
|
|
|
QT += core gui network
|
2021-01-24 08:04:48 +00:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
QT += widgets
|
|
|
|
#判断是否有websocket模块
|
|
|
|
qtHaveModule(websockets) {
|
|
|
|
QT += websockets
|
|
|
|
DEFINES += websocket
|
|
|
|
}}
|
2019-09-29 05:13:01 +00:00
|
|
|
|
2021-05-30 07:59:42 +00:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
|
|
|
|
2020-05-28 06:19:20 +00:00
|
|
|
TARGET = nettool
|
|
|
|
TEMPLATE = app
|
|
|
|
RC_FILE = other/main.rc
|
2021-01-24 08:04:48 +00:00
|
|
|
wasm {
|
|
|
|
DEFINES += emsdk
|
|
|
|
RESOURCES += other/font.qrc
|
|
|
|
} else {
|
|
|
|
DESTDIR = $$PWD/../bin
|
|
|
|
}
|
2019-09-29 05:13:01 +00:00
|
|
|
|
2020-05-28 06:19:20 +00:00
|
|
|
SOURCES += main.cpp
|
|
|
|
HEADERS += head.h
|
|
|
|
RESOURCES += other/main.qrc
|
2019-09-29 05:13:01 +00:00
|
|
|
|
2020-05-28 06:19:20 +00:00
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
INCLUDEPATH += $$PWD/api
|
|
|
|
INCLUDEPATH += $$PWD/form
|
2019-09-29 05:13:01 +00:00
|
|
|
|
2020-05-28 06:19:20 +00:00
|
|
|
include ($$PWD/api/api.pri)
|
|
|
|
include ($$PWD/form/form.pri)
|
2021-05-15 11:10:30 +00:00
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD/../core_qui
|
|
|
|
include ($$PWD/../core_qui/core_qui.pri)
|