このページでは

Qt Bluetooth C++ Classes

デバイスの検索や接続といった、Bluetoothの基本操作が可能になります。詳細...

名前空間

QBluetooth

Bluetoothに関連するクラスと関数

クラス

QBluetoothAddress

Bluetoothデバイスにアドレスを割り当てます

QBluetoothDeviceDiscoveryAgent

近くのBluetoothデバイスを検出します

QBluetoothDeviceInfo

Bluetoothデバイスに関する情報を保存します

QBluetoothHostInfo

ローカルのQBluetoothデバイスの詳細をカプセル化する

QBluetoothLocalDevice

ローカルのBluetoothデバイスへのアクセスを可能にする

QBluetoothServer

RFCOMM または L2cap プロトコルを使用して Bluetooth デバイスと通信する

QBluetoothServiceDiscoveryAgent

Bluetoothサービスの照会を可能にする

QBluetoothServiceInfo

Bluetoothサービスの属性へのアクセスを可能にする

QBluetoothServiceInfo::Alternative

Bluetoothデータ要素の代替(Alternative)の属性を格納します

QBluetoothServiceInfo::Sequence

Bluetoothデータ要素シーケンスの属性を保存します

QBluetoothSocket

Bluetoothサーバーを実行しているBluetoothデバイスへの接続を可能にします

QBluetoothUuid

各Bluetoothサービスに対してUUIDを生成します

QLowEnergyAdvertisingData

Bluetooth Low Energy アドバタイズ中にブロードキャストされるデータを表します

QLowEnergyAdvertisingParameters

Bluetooth Low Energy アドバタイジングに使用されるパラメータを表します

QLowEnergyAdvertisingParameters::AddressInfo

QLowEnergyAdvertisingParameters::AddressInfoは、ホワイトリストの要素を定義します

QLowEnergyCharacteristic

Bluetooth Low Energyサービスの特性に関する情報を格納します

QLowEnergyCharacteristicData

GATTサービスデータを設定するために使用されます

QLowEnergyConnectionParameters

Bluetooth LE 接続のパラメータの更新を要求または報告する際に使用されます

QLowEnergyController

Bluetooth Low Energy デバイスへのアクセス

QLowEnergyDescriptor

Bluetooth Low Energy 記述子に関する情報を格納します

QLowEnergyDescriptorData

GATTサービスデータの作成に使用されます

QLowEnergyService

Bluetooth Low Energyデバイス上の個々のサービスを表す

QLowEnergyServiceData

GATTサービスデータを設定するために使用されます

詳細な説明

Qt Bluetooth C++ API を使用すると、アプリケーションはデバイスをスキャンし、より柔軟な方法でデバイスに接続してやり取りを行うことができます。

アプリケーションで C++ ライブラリを使用するには、.pro ファイルに次の設定オプションを追加してください。

QT += bluetooth

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.