qt/ledset/ledset.pro

93 lines
1.9 KiB
Prolog
Raw Normal View History

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)
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
INCLUDEPATH += $$PWD/npcap-sdk-1.13/Include
LIBS += -L$$PWD/npcap-sdk-1.13/Lib/\
-lwpcap\
-lpacket
2023-05-27 17:43:57 +08:00
RESOURCES += res.qrc
2022-08-25 18:43:03 +08:00
SOURCES += \
basewin.cpp \
brightwin.cpp \
crc.c \
2023-04-18 18:21:34 +08:00
expertboxlayoutwin.cpp \
2022-08-26 23:15:25 +08:00
expertscreenconnwin.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-03-31 18:44:09 +08:00
gutil/qgui.cpp \
2022-08-25 18:43:03 +08:00
main.cpp \
mainwin.cpp \
2023-04-18 18:21:34 +08:00
moduleunit.cpp \
2023-03-20 11:30:19 +08:00
pcaprethread.cpp \
2022-08-25 18:43:03 +08:00
screenunit.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 \
crc.h \
2023-04-18 18:21:34 +08:00
expertboxlayoutwin.h \
2022-08-26 23:15:25 +08:00
expertscreenconnwin.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-03-31 18:44:09 +08:00
gutil/qgui.h \
2022-08-25 18:43:03 +08:00
mainwin.h \
2023-04-18 18:21:34 +08:00
moduleunit.h \
2023-03-20 11:30:19 +08:00
pcaprethread.h \
2022-08-25 18:43:03 +08:00
screenunit.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 += \
translations/app_en.ts
EXTRA_TRANSLATIONS += \
translations/qt_zh_CN.ts \
translations/qt_zh_TW.ts \
translations/qt_ja.ts \
translations/qt_en.ts
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target