QT += core gui network serialbus serialport greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 QMAKE_CXXFLAGS +=-Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable # 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 \ base/beep.cpp \ base/check_cfg.cpp \ base/crc.cpp \ base/debug.cpp \ base/mycfg.cpp \ elec/JQ_PSDGenerate.cpp \ elec/JQ_UIDGenerate.cpp \ elec/PSDGenerate.cpp \ elec/coder_lib.cpp \ elec/elec_judge.cpp \ elec/mystring.cpp \ interface/codec.cpp \ interface/codec_m4.cpp \ interface/codec_slave.cpp \ interface/codec_ym.cpp \ interface/if_can.cpp \ interface/if_tcp.cpp \ interface/if_uart.cpp \ interface/interface.cpp \ main.cpp \ mainwindow.cpp \ prot/prot_cmdline.cpp \ prot/prot_m4.cpp \ prot/prot_pc.cpp \ prot/prot_slave.cpp \ prot_cmd/cmd_checkself.cpp \ prot_cmd/cmd_cmdline.cpp \ prot_cmd/cmd_coder.cpp \ prot_cmd/cmd_hmi_coder.cpp \ prot_cmd/cmd_m4.cpp \ prot_cmd/cmd_pc.cpp \ prot_cmd/cmd_slave.cpp \ prot_cmd/keep_live.cpp HEADERS += \ base/base.h \ base/beep.h \ base/check_cfg.h \ base/crc.h \ base/debug.h \ base/file.h \ base/mycfg.h \ elec/JQ_PSDGenerate.h \ elec/JQ_UIDGenerate.h \ elec/PSDGenerate.h \ elec/coder_lib.h \ elec/elec_judge.h \ elec/mystring.h \ interface/codec.h \ interface/codec_m4.h \ interface/codec_slave.h \ interface/codec_ym.h \ interface/if_can.h \ interface/if_tcp.h \ interface/if_uart.h \ interface/interface.h \ mainwindow.h \ prot/prot_cmdline.h \ prot/prot_m4.h \ prot/prot_pc.h \ prot/prot_slave.h \ prot_cmd/cmd_checkself.h \ prot_cmd/cmd_cmdline.h \ prot_cmd/cmd_coder.h \ prot_cmd/cmd_hmi_coder.h \ prot_cmd/cmd_m4.h \ prot_cmd/cmd_pc.h \ prot_cmd/cmd_slave.h \ prot_cmd/keep_live.h 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 DISTFILES += \ ReadMe.txt \ ReadMe.txt \ info.json \ info.json