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

    • Technical task
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.x
    • Serial Port
    • 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

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

        Activity

          People

            kuzulis Denis Shienkov
            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