#------------------------------------------------- # # Project created by QtCreator 2016-09-19T13:33:20 # #------------------------------------------------- QT += core gui network greaterThan(QT_MAJOR_VERSION, 4) { QT += widgets #判断是否有websocket模块 qtHaveModule(websockets) { QT += websockets DEFINES += websocket }} TARGET = nettool TEMPLATE = app RC_FILE = other/main.rc wasm { DEFINES += emsdk RESOURCES += other/font.qrc } else { DESTDIR = $$PWD/../bin } SOURCES += main.cpp HEADERS += head.h RESOURCES += other/main.qrc CONFIG += warn_off INCLUDEPATH += $$PWD INCLUDEPATH += $$PWD/api INCLUDEPATH += $$PWD/form include ($$PWD/api/api.pri) include ($$PWD/form/form.pri)