81 lines
1.6 KiB
Prolog
81 lines
1.6 KiB
Prolog
QT += core gui
|
|
QT += network
|
|
QT += widgets
|
|
|
|
CONFIG += c++11
|
|
CONFIG += lrelease
|
|
CONFIG += embed_translations
|
|
|
|
# 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
|
|
|
|
msvc {
|
|
QMAKE_CXXFLAGS += -execution-charset:utf-8
|
|
QMAKE_CXXFLAGS += -source-charset:utf-8
|
|
|
|
CONFIG += force_debug_info
|
|
CONFIG += separate_debug_info
|
|
}
|
|
win* {
|
|
LIBS += -lDbghelp
|
|
}
|
|
win32 {
|
|
QMAKE_LFLAGS += /LARGEADDRESSAWARE
|
|
}
|
|
|
|
SOURCES += \
|
|
basewin.cpp \
|
|
brightwin.cpp \
|
|
expertscreenconnwin.cpp \
|
|
expertsmartpointsetwin.cpp \
|
|
expertwin.cpp \
|
|
fast.cpp \
|
|
gqt.cpp \
|
|
main.cpp \
|
|
mainwin.cpp \
|
|
pcapthread.cpp \
|
|
pcapwin.cpp \
|
|
screenunit.cpp \
|
|
table.cpp
|
|
|
|
HEADERS += \
|
|
basewin.h \
|
|
brightwin.h \
|
|
expertscreenconnwin.h \
|
|
expertsmartpointsetwin.h \
|
|
expertwin.h \
|
|
fast.h \
|
|
gqt.h \
|
|
mainwin.h \
|
|
pcapthread.h \
|
|
pcapwin.h \
|
|
screenunit.h \
|
|
table.h
|
|
|
|
TRANSLATIONS += \
|
|
translations/app_en.ts
|
|
|
|
EXTRA_TRANSLATIONS += \
|
|
translations/qt_zh_CN.ts \
|
|
translations/qt_zh_TW.ts \
|
|
translations/qt_ja.ts \
|
|
translations/qt_en.ts
|
|
|
|
RESOURCES += \
|
|
res.qrc
|
|
|
|
RC_ICONS = 128.ico
|
|
|
|
|
|
INCLUDEPATH += $$PWD/WpdPack_4_1_2/Include
|
|
LIBS += -L$$PWD/WpdPack_4_1_2/Lib/\
|
|
-lwpcap\
|
|
-lpacket
|
|
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|