1 Star 0 Fork 12

MarkYangUp/qmodbus

forked from 觉皇/qmodbus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
qmodbus.pro 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
觉皇 提交于 2022-04-14 14:14 . 初次提交
TARGET = qmodbus
TEMPLATE = app
VERSION = 0.1.0
QT += gui widgets
SOURCES += src/main.cpp \
src/mainwindow.cpp \
src/BatchProcessor.cpp \
3rdparty/qextserialport/qextserialport.cpp \
3rdparty/libmodbus/src/modbus.c \
3rdparty/libmodbus/src/modbus-data.c \
3rdparty/libmodbus/src/modbus-rtu.c \
3rdparty/libmodbus/src/modbus-tcp.c \
3rdparty/libmodbus/src/modbus-ascii.c \
src/asciisettingswidget.cpp \
src/rtusettingswidget.cpp \
src/serialsettingswidget.cpp \
src/tcpipsettingswidget.cpp \
src/ipaddressctrl.cpp \
src/iplineedit.cpp
HEADERS += src/mainwindow.h \
src/BatchProcessor.h \
3rdparty/qextserialport/qextserialport.h \
3rdparty/qextserialport/qextserialenumerator.h \
3rdparty/libmodbus/src/modbus.h \
src/serialsettingswidget.h \
src/imodbus.h \
src/tcpipsettingswidget.h \
src/ipaddressctrl.h \
src/iplineedit.h
INCLUDEPATH += 3rdparty/libmodbus \
3rdparty/libmodbus/src \
3rdparty/qextserialport \
src
unix {
SOURCES += 3rdparty/qextserialport/posix_qextserialport.cpp \
3rdparty/qextserialport/qextserialenumerator_unix.cpp
DEFINES += _TTY_POSIX_
}
win32 {
SOURCES += 3rdparty/qextserialport/win_qextserialport.cpp \
3rdparty/qextserialport/qextserialenumerator_win.cpp
DEFINES += _TTY_WIN_ WINVER=0x0501
LIBS += -lsetupapi -lws2_32
}
FORMS += forms/mainwindow.ui \
forms/about.ui \
forms/BatchProcessor.ui \
forms/serialsettingswidget.ui \
forms/tcpipsettingswidget.ui \
forms/ipaddressctrl.ui
RESOURCES += data/qmodbus.qrc
RC_FILE += qmodbus.rc
include(deployment.pri)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/MarkYangUp/qmodbus.git
[email protected]:MarkYangUp/qmodbus.git
MarkYangUp
qmodbus
qmodbus
main

搜索帮助