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. Qt Quick Controls 1.3 project doesn't work correctly in Android emulator (white screen)
Forum Updated to NodeBB v4.3 + New Features

Qt Quick Controls 1.3 project doesn't work correctly in Android emulator (white screen)

Scheduled Pinned Locked Moved Mobile and Embedded
12 Posts 2 Posters 3.5k Views 2 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.
  • F Offline
    F Offline
    flashmozzg
    wrote on last edited by
    #1

    QWidget worked fine but qml one (generated by default with 3 buttons) - doesn't. It deplys on my device fine. But in emulator it's only white screen but I can still "click" in the area there buttons are supposed to be and get pop up.
    It has lots of errors like these in the log:
    http://pastebin.com/1e7ZiGKq
    Is it a known problem and is there anything I could do to solve it?

    1 Reply Last reply
    0
    • F Offline
      F Offline
      flashmozzg
      wrote on last edited by
      #2

      Qt 5.4.1, Android API 16, standard emulator - same problem. In emu qt quick buttons/interface is not drawn. (though it reacts to "touching")

      1 Reply Last reply
      0
      • F Offline
        F Offline
        flashmozzg
        wrote on last edited by
        #3

        Tried genymotion - same thing.

        So that means that qt quick projects are basically not "debuggable" on pc without device on hand? That's bad.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          I'm not completely sure but I recall something about activating the GPU emulation for the emulator.

          Hope it helps

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flashmozzg
            wrote on last edited by
            #5

            [quote author="SGaist" date="1424816627"]Hi,

            I'm not completely sure but I recall something about activating the GPU emulation for the emulator.

            Hope it helps[/quote]

            I had use GPU Host enabled.
            Disabling it produces same result but with these errors:
            @E/libEGL ( 1079): called unimplemented OpenGL ES API
            E/libEGL ( 1079): called unimplemented OpenGL ES API
            E/libEGL ( 1079): called unimplemented OpenGL ES API
            E/libEGL ( 1079): called unimplemented OpenGL ES API@

            1 Reply Last reply
            0
            • F Offline
              F Offline
              flashmozzg
              wrote on last edited by
              #6

              I tried it on my notebook (8.1 x64 too) and there it runs fine. So it's most certainly some kind of bug/misconfiguration.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Maybe an OpenGL driver issue

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  flashmozzg
                  wrote on last edited by
                  #8

                  New, more complete log (it captures some java exceptions at the start) :
                  http://pastebin.com/eJrYLcnb

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    flashmozzg
                    wrote on last edited by
                    #9

                    [quote author="SGaist" date="1424898059"]Maybe an OpenGL driver issue[/quote]

                    Could be but how to test? I run some simple OGL benchmarks and they work fine, I have latest drivers, OGL is 4.4 version. If it was driver/vendor-specific issue there probably would be more reports by now.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      What graphic card do you have on your computer ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        flashmozzg
                        wrote on last edited by
                        #11

                        R9 290, CCC 14.12,

                        I tried OpenGL ES samples provided by emulator and they worked fine, so it seems qtquick/the way it does something-specific.

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          flashmozzg
                          wrote on last edited by
                          #12

                          More complete log: http://pastebin.com/cagcpw49
                          Also created this: https://bugreports.qt.io/browse/QTBUG-44697

                          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