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. QtQuick 2 and Android emulator
Forum Updated to NodeBB v4.3 + New Features

QtQuick 2 and Android emulator

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 2 Posters 3.3k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kibsoft
    wrote on last edited by
    #1

    I tried to deploy QtQuick2 application to an Android virtual device(Android-16) but it shows nothing on the screen, just white screen. MouseArea works good, but I don't see anything. I tried to use gpu=on, but no result.

    Is it possible to test QML apps using Android Emulator?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Moster
      wrote on last edited by
      #2

      No, this stuff does not work as far as I know. I also dislike the android emulator. It also fails at running opengl ES 2 apps.

      I will try genymotion(new androvm) and report back if this works :P

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kibsoft
        wrote on last edited by
        #3

        Thanks :) I didn't know about genymotion.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kibsoft
          wrote on last edited by
          #4

          I have tried genymotion, but the app doesn't work there at all.
          It can't load lib--Managed_by_Qt_Creator--plugins_platforms_libqminimal.so: open failed: ENOENT (No such file or directory). But this plugin is present in the apk package.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Moster
            wrote on last edited by
            #5

            I tried it, too. Had some issues starting the virtual machines, only one of them works though. Anyways, the app stays black like on the android emulator. Thats bad.

            Real devices work fine

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kibsoft
              wrote on last edited by
              #6

              bq. app stays black

              Yup and if you look at the DDMS log you can see that it is because of lib-Managed_by_Qt_Creator—plugins_platforms_libqminimal.so

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Moster
                wrote on last edited by
                #7

                It switches on every restart of the app for me. Probably it just shows the first library it does not find :P
                But you are right, actually those libs are in the apk. I dont know what the emulator is doing then

                1 Reply Last reply
                0

                • Login

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