73 lines
2.1 KiB
Prolog
Raw Normal View History

2025-03-13 15:21:23 +08:00
#-------------------------------------------------
#
# Project created by QtCreator 2024-09-29T09:39:56
#
#-------------------------------------------------
# ARM板上资源有限,不会与云平台混用,不编译
message("Compile only in x86 environment")
# requires(contains(QMAKE_HOST.arch, x86_64))
requires(!contains(QMAKE_HOST.arch, aarch64):!linux-aarch64*)
QT += core gui network concurrent
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = mqtt_tool
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as 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 you use 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
INCLUDEPATH += ../../fes/fes_idl_files/\
../../3rd/include/\
../../3rd/include/mosquitto/ \
SOURCES += \
main.cpp \
mainwindow.cpp \
connform.cpp \
pubform.cpp \
subform.cpp \
QMqttClient.cpp \
QMqttMessage.cpp \
CommonSheet.cpp
HEADERS += \
mainwindow.h \
connform.h \
pubform.h \
subform.h \
mqttform.h \
QMqttClient.h \
QMqttMessage.h \
CommonSheet.h
FORMS += \
mainwindow.ui \
connform.ui \
pubform.ui \
subform.ui
LIBS = -ldb_base_api -ldb_api_ex -ldp_chg_data_api -lpub_logger_api\
-lnet_msg_bus_api -lprotobuf -lpub_sysinfo_api -lpub_utility_api
LIBS += -lmosquitto -lmosquittopp
include($$PWD/../../idl_files/idl_files.pri)
include($$PWD/../../fes/fes_idl_files/fes_idl_files.pri)
#-------------------------------------------------------------------
COMMON_PRI=$$PWD/../../common.pri
exists($$COMMON_PRI) {
include($$COMMON_PRI)
}else {
error("FATAL error: can not find common.pri")
}