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

Android x86 emulator buggy with Qt6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 6.2.4
    • Quick: 2D Renderer
    • None
    • Mac 10.15.7
      Android build platform SDK 33
      Android NDK 22.1.7171670

    Description

      I'm porting my app from Qt 5.15.2 to Qt 6.2.4. There was no issue with Qt 5.15.2 and Android emulators configurations did not change.

      Now when running my app on Android x86 emulator I have strange graphic bugs, here are the main bugs :

      • svg rendering does not render the right icon, another app icon is rendered or even system icon. I just notice that it always happens when a video is loaded with Exoplayer, it seems to have no issue when Exoplayer is released.
      • text not rendering at all, does not occur on all texts.

      App is running OpenGL, svg are rendered with qml ColorOverlay (core5compat module), tested with x86 emulator Android 9 & 10, project is using qmake.

      It looks like graphical issues, could it be related to new graphic layers in Qt6? Is there something to configure in app project or Android emulator due to Qt6?

      Here are some suspicious logs, I do not remember they was there with Qt5:
      D eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0
      E emuglGLESv2_enc: a vertex attribute index out of boundary is detected. Skipping corresponding vertex attribute. buf=0xc2d0a940
      E emuglGLESv2_enc: Out of bounds vertex attribute info: clientArray? 0 attribute 2 vbo 692 allocedBufferSize 6912 bufferDataSpecified? 1 wantedStart 0 wantedEnd 111988

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            apap_ Loic Martin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes