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

Add QSerialPort::waitFor*(std::chrono::milliseconds)

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Serial Port
    • None
    • 8

    Description

      In QtCore, to express timeouts we try to migrate from int-based APIs to std::chrono-based (see e.g. QTimer).

      Let's try to do the same for QSerialPort::waitForBytesWritten()/QSerialPort::waitForReadyRead(). Of course, we need to keep the old functions for BC/SC reasons, so this task is about adding new overloads.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            ivan.solovev Ivan Solovev
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes