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

QOpenGLWidget only show party of QImage in Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.0 RC2
    • QPA
    • None
    • Qt 5.14.2 for android
      Android 7.1.2
    • Android

    Description

      First I use the QWidget to display QImage in android. it works well. But the performance is  bad. So I use QOpenGLWidget to replace the QWidget. The QOpenGLWidget works well in windows and linux platform. But in android the QOpenGLWidget only display part of the QImage.

      I use the custom QWidget class to display QImage. When I change the base class from QWidget to QOpenGLWidget, the QImage only display party of the image in android.

      Attachments

        1. QiDisplayWidget.cpp
          4 kB
        2. QiDisplayWidget.h
          2 kB
        3. screen1.png
          screen1.png
          93 kB
        4. screen2.png
          screen2.png
          243 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtandroidteam Qt Android Team
            tbago xueshen an
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes