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. screen1.png
          93 kB
          xueshen an
        2. screen2.png
          243 kB
          xueshen an
        3. QiDisplayWidget.h
          2 kB
          xueshen an
        4. QiDisplayWidget.cpp
          4 kB
          xueshen an
        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