Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. OpenGL examples does not run on Android emulator

OpenGL examples does not run on Android emulator

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 3.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jiangcaiyang
    wrote on 13 Dec 2013, 12:12 last edited by
    #1

    I downloaded Qt5.2 the first time after it released, and I try OpenGL ES2 example targeting Android Nexus4 devices but unfortunately it doesn't run. The console output shows:
    @……
    D/ ( 858): HostConnection::get() New Host Connection established 0x2a1aad48, tid 858
    D/libEGL ( 858): loaded /system/lib/egl/libEGL_emulation.so
    D/ ( 858): HostConnection::get() New Host Connection established 0x2a153998, tid 880
    D/libEGL ( 858): loaded /system/lib/egl/libGLESv1_CM_emulation.so
    D/libEGL ( 858): loaded /system/lib/egl/libGLESv2_emulation.so
    I/Choreographer( 858): Skipped 144 frames! The application may be doing too much work on its main thread.
    I/Choreographer( 858): Skipped 51 frames! The application may be doing too much work on its main thread.
    I/Choreographer( 858): Skipped 32 frames! The application may be doing too much work on its main thread.
    W/Qt ( 858): kernel\qplatformwindow.cpp:261 (virtual void QPlatformWindow::setParent(const QPlatformWindow*)): This plugin does not support setParent!
    W/Qt ( 858): kernel\qplatformwindow.cpp:300 (virtual void QPlatformWindow::propagateSizeHints()): This plugin does not support propagateSizeHints()

    'org.qtproject.example.sub_attaq' 已死。 @
    How does anyone solve this problem? Can Qt OpenGL ES2 apps run on Android REAL devices supported for OpenGL ES2?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stereomatching
      wrote on 15 Dec 2013, 06:37 last edited by
      #2

      As far as I know, the android emulator come with the packages do not support openGL yet. However, the emulator is extremely slow, much slower than real machine,try it with real machine if you have.

      "QtQuick 2 and Android emulator":http://qt-project.org/forums/viewthread/29499

      ps : if you know how to get the raw buffer of videoOutput or design your own videoOutput, please lend me a hand, I can't find any useful information about this

      1 Reply Last reply
      0

      1/2

      13 Dec 2013, 12:12

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved