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

QBluetoothSocket::waitForReadyRead() is not correctly worked on Linux.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.4.0
    • None

      QBluetoothSocket::waitForReadyRead(5000) allways return 0, but next code is worked:

          int timeout(5);
          while (timeout && !_device->bytesAvailable())
          {
              msleep(100);
              timeout--;
              eventDispatcher()->processEvents(QEventLoop::AllEvents);
          }
      

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

            ablasche Alex Blasche
            naugreem Boris Shmarin
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes