This repository has been archived by the owner on Sep 24, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
qModMaster.pro
109 lines (76 loc) · 2.48 KB
/
qModMaster.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#-------------------------------------------------
#
# Project created by QtCreator 2010-11-24T09:57:26
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qModMaster
TEMPLATE = app
SOURCES += src/main.cpp \
src/mainwindow.cpp \
3rdparty/libmodbus/modbus.c \
forms/about.cpp \
forms/settingsmodbusrtu.cpp \
forms/settingsmodbustcp.cpp \
src/modbusadapter.cpp \
src/eutils.cpp \
src/registersmodel.cpp \
src/rawdatamodel.cpp \
forms/settings.cpp \
forms/busmonitor.cpp \
3rdparty/libmodbus/modbus-data.c \
3rdparty/libmodbus/modbus-tcp.c \
3rdparty/libmodbus/modbus-rtu.c \
src/rawdatadelegate.cpp \
src/registersdatadelegate.cpp \
src/modbuscommsettings.cpp \
3rdparty/QsLog/QsLogDest.cpp \
3rdparty/QsLog/QsLog.cpp \
3rdparty/QsLog/QsLogDestConsole.cpp \
3rdparty/QsLog/QsLogDestFile.cpp \
src/MyInfoBar.cpp
HEADERS += src/mainwindow.h \
3rdparty/libmodbus/modbus.h \
forms/about.h \
forms/settingsmodbusrtu.h \
forms/settingsmodbustcp.h \
src/modbusadapter.h \
src/eutils.h \
src/registersmodel.h \
src/rawdatamodel.h \
forms/settings.h \
forms/busmonitor.h \
src/rawdatadelegate.h \
src/registersdatadelegate.h \
src/modbuscommsettings.h \
3rdparty/QsLog/QsLog.h \
3rdparty/QsLog/QsLogDest.h \
3rdparty/QsLog/QsLogDestConsole.h \
3rdparty/QsLog/QsLogLevel.h \
3rdparty/QsLog/QsLogDisableForThisFile.h \
3rdparty/QsLog/QsLogDestFile.h \
src/MyInfoBar.h
INCLUDEPATH += 3rdparty/libmodbus \
3rdparty/QsLog
TRANSLATIONS += translations/$$TARGET"_zh_CN.ts"
TRANSLATIONS += translations/$$TARGET"_zh_TW.ts"
unix:SOURCES +=
unix:DEFINES += _TTY_POSIX_
win32:SOURCES +=
win32:DEFINES += _TTY_WIN_ WINVER=0x0501
win32:LIBS += -lsetupapi -lwsock32 -lws2_32
QMAKE_CXXFLAGS += -std=gnu++11
DEFINES += QS_LOG_LINE_NUMBERS # automatically writes the file and line for each log message
#DEFINES += QS_LOG_DISABLE # logging code is replaced with a no-op
#DEFINES += QS_LOG_SEPARATE_THREAD # messages are queued and written from a separate thread
#DEFINES += LIB_MODBUS_DEBUG_OUTPUT # enable debug output from libmodbus
FORMS += forms/mainwindow.ui \
forms/about.ui \
forms/settingsmodbusrtu.ui \
forms/settingsmodbustcp.ui \
forms/settings.ui \
forms/busmonitor.ui
RESOURCES += \
icons/icons.qrc \
translations/translations.qrc