2023-11-26 23:05:35 +08:00
|
|
|
QT += core gui network serialbus serialport
|
2023-11-21 20:28:23 +08:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
2023-11-27 14:31:00 +08:00
|
|
|
|
|
|
|
QMAKE_CXXFLAGS +=-Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable
|
|
|
|
|
|
|
|
|
2023-11-21 20:28:23 +08:00
|
|
|
# The following define makes your compiler emit warnings if you use
|
|
|
|
# any Qt feature that has been marked deprecated (the exact warnings
|
|
|
|
# depend on your compiler). Please consult the documentation of the
|
|
|
|
# deprecated API in order to know how to port your code away from it.
|
|
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
|
|
|
|
|
|
# You can also make your code fail to compile if it uses deprecated APIs.
|
|
|
|
# In order to do so, uncomment the following line.
|
|
|
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
|
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
base/base.cpp \
|
2023-12-13 18:29:46 +08:00
|
|
|
base/beep.cpp \
|
2023-11-26 23:05:35 +08:00
|
|
|
base/check_cfg.cpp \
|
2023-11-21 20:28:23 +08:00
|
|
|
base/crc.cpp \
|
2023-12-02 11:27:25 +08:00
|
|
|
base/debug.cpp \
|
2023-11-21 20:28:23 +08:00
|
|
|
base/mycfg.cpp \
|
2023-12-21 18:51:58 +08:00
|
|
|
elec/JQ_PSDGenerate.cpp \
|
|
|
|
elec/JQ_UIDGenerate.cpp \
|
|
|
|
elec/PSDGenerate.cpp \
|
|
|
|
elec/coder_lib.cpp \
|
2023-11-27 14:31:00 +08:00
|
|
|
elec/elec_judge.cpp \
|
|
|
|
elec/mystring.cpp \
|
2023-11-21 20:28:23 +08:00
|
|
|
interface/codec.cpp \
|
2023-11-26 23:05:35 +08:00
|
|
|
interface/codec_m4.cpp \
|
|
|
|
interface/codec_slave.cpp \
|
2023-11-21 20:28:23 +08:00
|
|
|
interface/codec_ym.cpp \
|
2023-11-29 15:36:45 +08:00
|
|
|
interface/if_can.cpp \
|
2023-11-21 20:28:23 +08:00
|
|
|
interface/if_tcp.cpp \
|
2023-11-29 15:36:45 +08:00
|
|
|
interface/if_uart.cpp \
|
2023-11-21 20:28:23 +08:00
|
|
|
interface/interface.cpp \
|
|
|
|
main.cpp \
|
2023-11-26 23:05:35 +08:00
|
|
|
mainwindow.cpp \
|
2023-12-02 11:27:25 +08:00
|
|
|
prot/prot_cmdline.cpp \
|
2023-11-26 23:05:35 +08:00
|
|
|
prot/prot_m4.cpp \
|
|
|
|
prot/prot_pc.cpp \
|
|
|
|
prot/prot_slave.cpp \
|
2023-12-02 11:27:25 +08:00
|
|
|
prot_cmd/cmd_cmdline.cpp \
|
2023-12-19 18:14:35 +08:00
|
|
|
prot_cmd/cmd_coder.cpp \
|
2023-12-07 18:29:49 +08:00
|
|
|
prot_cmd/cmd_m4.cpp \
|
2023-11-26 23:05:35 +08:00
|
|
|
prot_cmd/cmd_pc.cpp \
|
|
|
|
prot_cmd/cmd_slave.cpp
|
2023-11-21 20:28:23 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
base/base.h \
|
2023-12-13 18:29:46 +08:00
|
|
|
base/beep.h \
|
2023-11-26 23:05:35 +08:00
|
|
|
base/check_cfg.h \
|
2023-11-21 20:28:23 +08:00
|
|
|
base/crc.h \
|
2023-12-02 11:27:25 +08:00
|
|
|
base/debug.h \
|
2023-11-21 20:28:23 +08:00
|
|
|
base/file.h \
|
|
|
|
base/mycfg.h \
|
2023-12-21 18:51:58 +08:00
|
|
|
elec/JQ_PSDGenerate.h \
|
|
|
|
elec/JQ_UIDGenerate.h \
|
|
|
|
elec/PSDGenerate.h \
|
|
|
|
elec/coder_lib.h \
|
2023-11-27 14:31:00 +08:00
|
|
|
elec/elec_judge.h \
|
|
|
|
elec/mystring.h \
|
2023-11-21 20:28:23 +08:00
|
|
|
interface/codec.h \
|
2023-11-26 23:05:35 +08:00
|
|
|
interface/codec_m4.h \
|
|
|
|
interface/codec_slave.h \
|
|
|
|
interface/codec_ym.h \
|
2023-11-29 15:36:45 +08:00
|
|
|
interface/if_can.h \
|
2023-11-21 20:28:23 +08:00
|
|
|
interface/if_tcp.h \
|
2023-11-29 15:36:45 +08:00
|
|
|
interface/if_uart.h \
|
2023-11-21 20:28:23 +08:00
|
|
|
interface/interface.h \
|
2023-11-26 23:05:35 +08:00
|
|
|
mainwindow.h \
|
2023-12-02 11:27:25 +08:00
|
|
|
prot/prot_cmdline.h \
|
2023-11-26 23:05:35 +08:00
|
|
|
prot/prot_m4.h \
|
|
|
|
prot/prot_pc.h \
|
|
|
|
prot/prot_slave.h \
|
2023-12-05 18:37:40 +08:00
|
|
|
prot_cmd/cmd_cmdline.h \
|
2023-12-19 18:14:35 +08:00
|
|
|
prot_cmd/cmd_coder.h \
|
2023-12-07 18:29:49 +08:00
|
|
|
prot_cmd/cmd_m4.h \
|
2023-11-26 23:05:35 +08:00
|
|
|
prot_cmd/cmd_pc.h \
|
|
|
|
prot_cmd/cmd_slave.h
|
2023-11-21 20:28:23 +08:00
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
mainwindow.ui
|
|
|
|
|
|
|
|
TRANSLATIONS += \
|
|
|
|
checker_host_zh_CN.ts
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
2023-12-13 18:29:46 +08:00
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
ReadMe.txt \
|
|
|
|
ReadMe.txt
|