summaryrefslogtreecommitdiff
path: root/tests/manual/examples/btscanner/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/examples/btscanner/main.cpp')
-rw-r--r--tests/manual/examples/btscanner/main.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/manual/examples/btscanner/main.cpp b/tests/manual/examples/btscanner/main.cpp
new file mode 100644
index 00000000..330c6888
--- /dev/null
+++ b/tests/manual/examples/btscanner/main.cpp
@@ -0,0 +1,18 @@
+// Copyright (C) 2021 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+#include "device.h"
+
+#include <QtCore/qloggingcategory.h>
+#include <QtWidgets/qapplication.h>
+
+int main(int argc, char *argv[])
+{
+ // QLoggingCategory::setFilterRules(QStringLiteral("qt.bluetooth* = true"));
+ QApplication app(argc, argv);
+ DeviceDiscoveryDialog d;
+
+ d.show();
+
+ return app.exec();
+}