2023-05-27 17:43:57 +08:00
|
|
|
QT += core gui widgets
|
2022-08-25 18:43:03 +08:00
|
|
|
QT += network
|
|
|
|
|
2023-05-27 17:43:57 +08:00
|
|
|
CONFIG += c++17
|
2022-08-25 18:43:03 +08:00
|
|
|
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
|
|
|
|
|
2023-06-07 19:11:03 +08:00
|
|
|
TARGET = $$quote(LedSet Express)
|
2023-08-21 11:21:00 +08:00
|
|
|
DEFINES += __VER__=\\\"0.0.1\\\"
|
2023-06-07 19:11:03 +08:00
|
|
|
|
2022-08-25 18:43:03 +08:00
|
|
|
msvc {
|
2023-05-27 17:43:57 +08:00
|
|
|
contains(QT_ARCH, i386) {
|
|
|
|
QMAKE_LFLAGS += /LARGEADDRESSAWARE
|
|
|
|
}
|
2023-06-06 12:13:33 +08:00
|
|
|
lessThan(QT_MAJOR_VERSION, 6) {
|
|
|
|
QMAKE_CXXFLAGS += -execution-charset:utf-8
|
|
|
|
QMAKE_CXXFLAGS += -source-charset:utf-8
|
|
|
|
}
|
2022-08-25 18:43:03 +08:00
|
|
|
CONFIG += force_debug_info
|
|
|
|
CONFIG += separate_debug_info
|
|
|
|
}
|
|
|
|
win32 {
|
2023-05-27 17:43:57 +08:00
|
|
|
CONFIG -= debug_and_release
|
|
|
|
LIBS += -lDbghelp
|
|
|
|
|
|
|
|
RC_ICONS = 128.ico
|
2022-08-25 18:43:03 +08:00
|
|
|
}
|
2023-06-06 12:13:33 +08:00
|
|
|
|
2023-08-21 11:21:00 +08:00
|
|
|
|
|
|
|
copydir.files += translations
|
2023-09-05 10:02:20 +08:00
|
|
|
copy.files += $$files(files/*.ic)
|
2023-08-21 11:21:00 +08:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
EXE_SUFFIX = .exe
|
2023-09-05 10:02:20 +08:00
|
|
|
copy.path = $$OUT_PWD
|
2023-08-21 11:21:00 +08:00
|
|
|
copydir.path = $$OUT_PWD
|
|
|
|
CONFIG += file_copies
|
2023-09-05 10:02:20 +08:00
|
|
|
COPIES += copy
|
2023-08-21 11:21:00 +08:00
|
|
|
COPIES += copydir
|
|
|
|
}
|
|
|
|
osx {
|
|
|
|
DIR_SUFFIX = -mac
|
|
|
|
copydir.path = Contents/MacOS
|
|
|
|
QMAKE_BUNDLE_DATA += copydir
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-06-06 12:13:33 +08:00
|
|
|
INCLUDEPATH += $$PWD/npcap-sdk-1.13/Include
|
|
|
|
LIBS += -L$$PWD/npcap-sdk-1.13/Lib/\
|
|
|
|
-lwpcap\
|
|
|
|
-lpacket
|
|
|
|
|
2023-09-01 17:25:53 +08:00
|
|
|
LIBS += -L$$PWD -lefffrefr
|
|
|
|
|
2023-05-27 17:43:57 +08:00
|
|
|
RESOURCES += res.qrc
|
2022-08-25 18:43:03 +08:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
basewin.cpp \
|
|
|
|
brightwin.cpp \
|
2022-10-12 18:17:10 +08:00
|
|
|
crc.c \
|
2023-04-18 18:21:34 +08:00
|
|
|
expertboxlayoutwin.cpp \
|
2022-08-26 23:15:25 +08:00
|
|
|
expertscreenconnwin.cpp \
|
2023-09-05 10:02:20 +08:00
|
|
|
expertsendpanel.cpp \
|
2022-08-25 18:43:03 +08:00
|
|
|
expertsmartpointsetwin.cpp \
|
|
|
|
expertwin.cpp \
|
|
|
|
fast.cpp \
|
2022-12-16 15:08:53 +08:00
|
|
|
globalfunc.cpp \
|
2023-07-28 14:48:41 +08:00
|
|
|
gutil/cu.cpp \
|
2023-03-31 18:44:09 +08:00
|
|
|
gutil/qgui.cpp \
|
2023-07-28 14:48:41 +08:00
|
|
|
gutil/qjson.cpp \
|
2023-09-15 10:59:00 +08:00
|
|
|
ic_ui/doublelatcheffectwin.cpp \
|
|
|
|
ic_ui/icn2053.cpp \
|
|
|
|
ic_ui/normaleffectwin.cpp \
|
|
|
|
ic_ui/pwmeffectwin.cpp \
|
2022-08-25 18:43:03 +08:00
|
|
|
main.cpp \
|
|
|
|
mainwin.cpp \
|
2023-03-20 11:30:19 +08:00
|
|
|
pcaprethread.cpp \
|
2023-06-13 18:00:19 +08:00
|
|
|
testwin.cpp \
|
2023-06-06 12:13:33 +08:00
|
|
|
videowin.cpp \
|
|
|
|
waitingdlg.cpp
|
2022-08-25 18:43:03 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
basewin.h \
|
|
|
|
brightwin.h \
|
2022-10-12 18:17:10 +08:00
|
|
|
crc.h \
|
2023-09-01 17:25:53 +08:00
|
|
|
efffrefr.h \
|
2023-04-18 18:21:34 +08:00
|
|
|
expertboxlayoutwin.h \
|
2022-08-26 23:15:25 +08:00
|
|
|
expertscreenconnwin.h \
|
2023-09-05 10:02:20 +08:00
|
|
|
expertsendpanel.h \
|
2022-08-25 18:43:03 +08:00
|
|
|
expertsmartpointsetwin.h \
|
|
|
|
expertwin.h \
|
|
|
|
fast.h \
|
2022-12-16 15:08:53 +08:00
|
|
|
globalfunc.h \
|
2023-07-28 14:48:41 +08:00
|
|
|
gutil/cu.h \
|
2023-03-31 18:44:09 +08:00
|
|
|
gutil/qgui.h \
|
2023-07-28 14:48:41 +08:00
|
|
|
gutil/qjson.h \
|
2023-09-15 10:59:00 +08:00
|
|
|
ic_ui/doublelatcheffectwin.h \
|
|
|
|
ic_ui/icn2053.h \
|
|
|
|
ic_ui/normaleffectwin.h \
|
|
|
|
ic_ui/pwmeffectwin.h \
|
2022-08-25 18:43:03 +08:00
|
|
|
mainwin.h \
|
2023-03-20 11:30:19 +08:00
|
|
|
pcaprethread.h \
|
2023-06-13 18:00:19 +08:00
|
|
|
testwin.h \
|
2023-06-06 12:13:33 +08:00
|
|
|
videowin.h \
|
|
|
|
waitingdlg.h
|
2022-08-25 18:43:03 +08:00
|
|
|
|
|
|
|
TRANSLATIONS += \
|
2023-08-21 11:21:00 +08:00
|
|
|
ts/app_en.ts
|
2022-08-25 18:43:03 +08:00
|
|
|
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|