Skip to content

Commit b5c3063

Browse files
committed
more fixed
1 parent ff517d9 commit b5c3063

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

source/Examples/LoggingDemo/LoggingDemo.pro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44

55
QT += core
6-
# QT -= gui
6+
QT -= gui
77

88
CONFIG += c++11 console
99
CONFIG -= app_bundle
@@ -19,15 +19,11 @@ DEFINES += QT_DEPRECATED_WARNINGS
1919
# You can also select to disable deprecated APIs only up to a certain version of Qt.
2020
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
2121

22-
2322
# Define QSLogLib relative path. You can fix this directory
2423
# QSLOG_PARENTPATH = ../../
2524
# QSLOG_HEADERPATH = ../../QSLogLib/
2625
# QSLOG_SOURCEPATH = ../../QSLogLib/
2726
include(../../QSLogLib/QSLogLib.pri)
2827

29-
30-
31-
3228
SOURCES += \
3329
main.cpp

source/QSLogLib/Devices/UdpLogger.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ void UdpLogger::_WriteMessage(const std::string& message)
5757
{
5858
QByteArray ba = QByteArray::fromStdString(message);
5959
qint64 ret = udpSocket.writeDatagram( ba, DestAddress, usDestPort );
60+
qDebug() << " retuen value of udp socket : "<< ret ;
6061
}
6162

6263
//------------------------------------------------------------------------

0 commit comments

Comments
 (0)