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

    • Icon: Technical task Technical task
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.8.x
    • Serial Port
    • Necessitas Qt SDK v 1.0.0 (Windows installer), QtCreator v 2.8.0

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes