-
Notifications
You must be signed in to change notification settings - Fork 13
/
MQTTCute.pro
94 lines (79 loc) · 2.58 KB
/
MQTTCute.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
92
93
94
#-------------------------------------------------
#
# Project created by QtCreator 2017-12-24T16:50:07
#
#-------------------------------------------------
QT += core gui network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = MQTTCute
TEMPLATE = app
CONFIG += console
# Enable to use NymphMQTT.
DEFINES += USE_NMQTT=1
LIBS += -lnymphmqtt -lbytebauble -lPocoNet -lPocoNetSSL -lPocoUtil -lPocoFoundation -lPocoJSON
SOURCES += main.cpp\
mainwindow.cpp \
nmqtt_listener.cpp \
topicwindow.cpp \
discoverywindow.cpp \
sessiondialog.cpp \
settingsdialog.cpp
# win32-g++ {
# SOURCES += mosquitto/lib/cpp/mosquittopp.cpp \
# mosquitto/lib/logging_mosq.c \
# mosquitto/lib/memory_mosq.c \
# mosquitto/lib/messages_mosq.c \
# mosquitto/lib/mosquitto.c \
# mosquitto/lib/net_mosq.c \
# mosquitto/lib/read_handle.c \
# mosquitto/lib/read_handle_client.c \
# mosquitto/lib/read_handle_shared.c \
# mosquitto/lib/send_client_mosq.c \
# mosquitto/lib/send_mosq.c \
# mosquitto/lib/socks_mosq.c \
# mosquitto/lib/srv_mosq.c \
# mosquitto/lib/thread_mosq.c \
# mosquitto/lib/time_mosq.c \
# mosquitto/lib/tls_mosq.c \
# mosquitto/lib/util_mosq.c \
# mosquitto/lib/will_mosq.c
#}
HEADERS += mainwindow.h \
nmqtt_listener.h \
topicwindow.h \
discoverywindow.h \
sessiondialog.h \
settingsdialog.h
# win32-g++ {
# HEADERS += mosquitto/lib/cpp/mosquittopp.h \
# mosquitto/lib/dummypthread.h \
# mosquitto/lib/logging_mosq.h \
# mosquitto/lib/memory_mosq.h \
# mosquitto/lib/messages_mosq.h \
# mosquitto/lib/mosquitto.h \
# mosquitto/lib/mosquitto_internal.h \
# mosquitto/lib/mqtt3_protocol.h \
# mosquitto/lib/net_mosq.h \
# mosquitto/lib/read_handle.h \
# mosquitto/lib/send_mosq.h \
# mosquitto/lib/socks_mosq.h \
# mosquitto/lib/time_mosq.h \
# mosquitto/lib/tls_mosq.h \
# mosquitto/lib/util_mosq.h \
# mosquitto/lib/will_mosq.h
# }
FORMS += mainwindow.ui \
topicwindow.ui \
discoverywindow.ui \
sessiondialog.ui \
settingsdialog.ui
!win32 {
#LIBS += -lmosquitto -lmosquittopp
}
win32:CONFIG(release, debug|release): LIBS += -lws2_32
win32:CONFIG(debug, debug|release): LIBS += -lws2_32
win32-msvc:CONFIG(release, debug|release): LIBS += -L$$PWD/mosquitto/msvc_2017_x64/
win32-msvc:CONFIG(debug, debug|release): LIBS += -L$$PWD/mosquitto/msvc_2017_x64/
RESOURCES += \
images.qrc
#win32:RC_ICONS += img/mqtticon-large.png