Files
checker_host/checker_host.pro
2023-11-27 14:31:00 +08:00

74 lines
2.0 KiB
Prolog

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/check_cfg.cpp \
base/crc.cpp \
base/mycfg.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_tcp.cpp \
interface/interface.cpp \
main.cpp \
mainwindow.cpp \
prot/prot_m4.cpp \
prot/prot_pc.cpp \
prot/prot_slave.cpp \
prot_cmd/cmd_pc.cpp \
prot_cmd/cmd_slave.cpp
HEADERS += \
base/base.h \
base/check_cfg.h \
base/crc.h \
base/file.h \
base/mycfg.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_tcp.h \
interface/interface.h \
mainwindow.h \
prot/prot_m4.h \
prot/prot_pc.h \
prot/prot_slave.h \
prot_cmd/cmd_pc.h \
prot_cmd/cmd_slave.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