-
Notifications
You must be signed in to change notification settings - Fork 127
/
qmodbus.pro
62 lines (53 loc) · 1.66 KB
/
qmodbus.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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)