Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
6.3.0 Feature Freeze
-
None
Description
The metatype of a QVariant holding a QBluetoothUuid is QUuid.
This code
int main(int argc, char** argv) { qRegisterMetaType<QBluetoothUuid>(); qDebug() << qRegisterMetaType<QBluetoothUuid>(); qDebug() << qMetaTypeId<QBluetoothUuid>(); qDebug() << QVariant(QBluetoothUuid()).typeId(); qDebug() << QVariant(QBluetoothUuid()).metaType().id(); qDebug() << QMetaType::fromType<QBluetoothUuid>().id(); qDebug() << QMetaType::typeName(QVariant(QBluetoothUuid()).typeId()); qDebug() << QMetaType::QUuid; return 0; }
prints the following:
65538 65538 30 30 65538 QUuid 30