summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2017-04-06 13:29:15 +0200
committerAlex Blasche <alexander.blasche@qt.io>2017-04-07 06:58:21 +0000
commit2274719da5e5cade5dcfc8838d7b65bc04099da9 (patch)
tree7f7c1d9f3a2bd12e3b3727b5d50b6cd1f1ab3656 /examples/bluetooth
parent3d8a43250cf8293578b29b329c2a91d22e2fae79 (diff)
Add Logging category provisioning to heartrate-server example
Change-Id: Id0d50632e27742ff3f0abaf752d109eeba72ad98 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'examples/bluetooth')
-rw-r--r--examples/bluetooth/heartrate-server/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/bluetooth/heartrate-server/main.cpp b/examples/bluetooth/heartrate-server/main.cpp
index 779dbb6a..5822831c 100644
--- a/examples/bluetooth/heartrate-server/main.cpp
+++ b/examples/bluetooth/heartrate-server/main.cpp
@@ -49,11 +49,13 @@
#include <QtCore/qbytearray.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qlist.h>
+#include <QtCore/qloggingcategory.h>
#include <QtCore/qscopedpointer.h>
#include <QtCore/qtimer.h>
int main(int argc, char *argv[])
{
+ //QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
QCoreApplication app(argc, argv);
//! [Advertising Data]