-
Notifications
You must be signed in to change notification settings - Fork 1
/
qCfgMaster.pro
102 lines (68 loc) · 2.53 KB
/
qCfgMaster.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
#-------------------------------------------------
#
# Project created by QtCreator 2010-11-24T09:57:26
#
#-------------------------------------------------
QT += core gui serialport charts multimedia
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = qCfgMaster
TEMPLATE = app
SOURCES += src/main.cpp \
src/mainwindow.cpp \
3rdparty/libmodbus/modbus.c \
forms/about.cpp \
forms/MyInfoBar.cpp \
src/eutils.cpp \
forms/busmonitor.cpp \
3rdparty/libmodbus/modbus-data.c \
3rdparty/libmodbus/modbus-tcp.c \
3rdparty/libmodbus/modbus-rtu.c \
3rdparty/QsLog/QsLogDest.cpp \
3rdparty/QsLog/QsLog.cpp \
3rdparty/QsLog/QsLogDestConsole.cpp \
3rdparty/QsLog/QsLogDestFile.cpp \
src/cfgbusentry.cpp \
src/cfgbusmodel.cpp \
forms/settingsdialog.cpp \
src/cfgbusmaster.cpp \
src/chartwindow.cpp
HEADERS += 3rdparty/libmodbus/modbus.h \
forms/about.h \
forms/busmonitor.h \
forms/MyInfoBar.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 \
inc/mainwindow.h \
inc/cfgbus.h \
inc/cfgbusentry.h \
inc/cfgbusmodel.h \
forms/settingsdialog.h \
inc/cfgbusmaster.h \
inc/eutils.h \
inc/chartwindow.h
INCLUDEPATH += 3rdparty/libmodbus \
3rdparty/QsLog \
inc \
forms
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/busmonitor.ui \
forms/settingsdialog.ui \
forms/chartwindow.ui
RESOURCES += icons/icons.qrc