Qt quick applications fail to start on Android AVD that uses hardware acceleration



  • I'm using Macbook Pro Retina mid 2012 (NVIDIA GeForce GT 650M)
    with QT 5.7 installed on both OS X 10.11 and Windows 10.
    Whenever I try to run a qt quick application (including examples) on Android
    Virtual Device with HAX that uses hardware acceleration for graphics, it
    successfully compiles, installs, but fails to start. If I switch
    AVD to use software rendering, everything works but slow.
    Problem persists on both Windows 10 and OS X 10.11 El Capitan.
    Widget based QT apps (at least some) start on HW Accel AVD but
    performance is just little bit better then without acceleration.

    ADDITIONAL FACTS:

    1. Example projects from Android Studio run on AVD
      with hardware acceleration pretty fast, almost like on real device.
    2. All QT Quick examples run successfully in iphonesimulator,
      but some with good performance, and some with noticeable lags (especially those that use three.js).
    3. Sometimes I get message from iphonesimulator: "JIT is disabled for QML.
      Property bindings and animations will be very slow."

    Does anybody have same problem with hardware acceleration? Any suggestions?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.