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

QQuickView: nothing rendered on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.3.0
    • QPA
    • None
    • Android

    Description

      I join a small test project. From the menu select "test qquickview". Nothing is displayed. If you press the back button you get this message in the console:

      W/Qt (15916): androidjnimain.cpp:542 (void setSurface(JNIEnv*, jobject, jint, jobject, jint, jint)): Can't find surface 2

      The same project runs on windows normally.

      The "texturepprovider" sample provided by qt is also using QQuickView and runs normally here on Android. One difference is that testureprovider is defined as a QGuiApplication while my application is declared as a QApplication. I don't know if this is related or not.

      Note that there is also a "QQuickWidget test" action that crashes on Android, but this should be related to QTBUG-39325

      Thanks
      Philippe LELONG

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            maitai Philippe Lelong
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes