彻底改版2.0
This commit is contained in:
32
tool/nettool/nettool.pro
Normal file
32
tool/nettool/nettool.pro
Normal file
@@ -0,0 +1,32 @@
|
||||
QT += core gui network
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
QT += widgets
|
||||
#判断是否有websocket模块
|
||||
qtHaveModule(websockets) {
|
||||
QT += websockets
|
||||
DEFINES += websocket
|
||||
}}
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||||
|
||||
TARGET = nettool
|
||||
TEMPLATE = app
|
||||
RC_FILE = qrc/main.rc
|
||||
wasm {
|
||||
DEFINES += emsdk
|
||||
RESOURCES += qrc/font.qrc
|
||||
} else {
|
||||
DESTDIR = $$PWD/../bin
|
||||
}
|
||||
|
||||
HEADERS += head.h
|
||||
SOURCES += main.cpp
|
||||
RESOURCES += qrc/main.qrc
|
||||
CONFIG += warn_off
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += $$PWD/api
|
||||
INCLUDEPATH += $$PWD/form
|
||||
|
||||
include ($$PWD/api/api.pri)
|
||||
include ($$PWD/form/form.pri)
|
||||
Reference in New Issue
Block a user