Details
-
Suggestion
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
None
-
None
Description
Currently, QUuid::toString() uses the output format "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}", whereas QBluetoothUuid::QBluetoothUuid(QString) expects the format "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", e.g. no curly braces. (Please note that QBluetoothUuid is derived from QUuid.)
I propose QBluetoothUuid::QBluetoothUuid(QString) to accept both formats. (It seems that QUuid::QUuid(QString) does it that way?)