aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btscanner/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/btscanner/main.py')
-rw-r--r--examples/bluetooth/btscanner/main.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/bluetooth/btscanner/main.py b/examples/bluetooth/btscanner/main.py
new file mode 100644
index 000000000..a54a862a2
--- /dev/null
+++ b/examples/bluetooth/btscanner/main.py
@@ -0,0 +1,17 @@
+# Copyright (C) 2022 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+"""PySide6 port of the bluetooth/btscanner example from Qt v6.x"""
+
+import sys
+
+from PySide6.QtWidgets import QApplication
+
+from device import DeviceDiscoveryDialog
+
+
+if __name__ == '__main__':
+ app = QApplication(sys.argv)
+ d = DeviceDiscoveryDialog()
+ d.exec()
+ sys.exit(0)