Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55073

QBluetoothSocket::connectToService should report UnsupportedProtocolError early

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.2
    • 5.6, 5.7, 5.8
    • None

      It's possible to create a QBluetoothSocket with 'UnknownProtocol' type and then continue with connectToService. On OS X (for example) this results in UnknownError instead of documented/expected UknownProtocolError. Also, it's possible to call overloaded connectToService and this will result in undesired device discovery (undesired, since we'll fail to connect after all).

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tpochep Timur Pocheptsov
            tpochep Timur Pocheptsov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes