MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / operatingSystemSupported

Method operatingSystemSupported

app/src/IO/Drivers/BluetoothLE.cpp:690–700  ·  view source on GitHub ↗

* @brief Returns @c false on macOS Monterey (Qt < 6.0 only). */

Source from the content-addressed store, hash-verified

688 * @brief Returns @c false on macOS Monterey (Qt < 6.0 only).
689 */
690bool IO::Drivers::BluetoothLE::operatingSystemSupported() const
691{
692#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
693# if defined(Q_OS_MAC)
694 if (QOperatingSystemVersion::current() > QOperatingSystemVersion::MacOSBigSur)
695 return false;
696# endif
697#endif
698
699 return true;
700}
701
702/**
703 * @brief Returns true if a Bluetooth adapter is available on the system.

Callers 3

setBusTypeMethod · 0.80
startDiscoveryMethod · 0.80
getStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected