summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2020-12-01 09:36:29 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-10-08 16:03:56 +0000
commitbf70f5de171e23e516f53917aead4b7b37621880 (patch)
tree9ad856366c87dc4ebf8660452c0abff26d115b84 /src
parent4aecd91bc036bc825b1a62024ca002958d7515b1 (diff)
Doc: Add macOS specific dependency information
Qt Bluetooth requires QGuiApplication in certain cases, make sure that this is covered by the module docs. Task-number: QTBUG-86796 Change-Id: Ib7918321b84ae51b436d2e47921e3de6d6736ad3 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit 8a1b1ac7f694f50f75a56a1d10f204e66e62ea76) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/doc/src/bluetooth-index.qdoc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bluetooth/doc/src/bluetooth-index.qdoc b/src/bluetooth/doc/src/bluetooth-index.qdoc
index 07f8e6cf..e4a192f0 100644
--- a/src/bluetooth/doc/src/bluetooth-index.qdoc
+++ b/src/bluetooth/doc/src/bluetooth-index.qdoc
@@ -118,6 +118,16 @@ Qt D-Bus support.
The usage of the dummy backend is highlighted via an appropriate warning while building and running.
+\section3 \macos Specific
+The Bluetooth API on \macos requires a certain type of event dispatcher
+that in Qt causes a dependency to QGuiApplication. However, you can set the
+environment variable \c {QT_EVENT_DISPATCHER_CORE_FOUNDATION=1} to circumvent
+this issue.
+
+Applications that don't use Classic Bluetooth will find a subset of QtBluetooth
+is available, as CoreBluetooth (Bluetooth LE) do not require either of
+QApplication or QGuiApplication.
+
\section2 Guides
\list
\li \l {Qt Bluetooth Overview}{Classic Bluetooth Overview}