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

Obsolete the QSerialPort::Unknown* enumeration values

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: Serial Port
    • Labels:
      None
    • Technical Risk:
      Normal
    • Commits:
      5fabe1c180994dda64bae2a86a8a38bab6bef86b

      Description

      It has no use case, so we should get rid of this API in the future. We can deprecate it for now. It has been added mistakenly. It is the exposure of weird windows API going againt the serial port "standard" behavior.

      This has been misunderstood before, so let us clean it up while giving a warning for weird API options with Windows, Unix and Symbian.

      Here is the relevant MSDN docs where we treated fParity weirdly:

      http://msdn.microsoft.com/en-us/library/windows/desktop/aa363214%28v=vs.85%29.aspx

      The rest is similarly. Changes to follow:

      https://codereview.qt-project.org/72795

      and

      https://codereview.qt-project.org/72925

        Attachments

        For Gerrit Dashboard: QTBUG-35215
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            lpapp Laszlo Papp
            Reporter:
            lpapp Laszlo Papp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes