Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-32672 Add Android support for QtSerialPort
  3. QTBUG-33117

Android: Fix compilation on Necessitas Qt SDK v 1.0.0

    XMLWordPrintable

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Fix Version/s: 4.8.x
    • Component/s: Serial Port
    • Labels:
    • Environment:

      Necessitas Qt SDK v 1.0.0 (Windows installer), QtCreator v 2.8.0

      Description

      It is the first experimental patch to start integration of support of Android for QtSerialPort. Therefore for build of library it is necessary to exclude examples and tests.

      In this patch should be corrected the tcdrain() function. The main problem is that Android supports this function, beginning from version 4.2 and above:

      But we can't define the Android's API version by means of Q_OS_ANDROID macro yet. Therefore we are stimulated to implement the tcdrain() function manually, having simply copied its implementation from the source codes of
      Bionic libc.

        Attachments

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

          Activity

            People

            Assignee:
            kuzulis Denis Shienkov
            Reporter:
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes