Qt Quick Controls 1.3 project doesn't work correctly in Android emulator (white screen)
-
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? -
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")
-
Tried genymotion - same thing.
So that means that qt quick projects are basically not "debuggable" on pc without device on hand? That's bad.
-
Hi,
I'm not completely sure but I recall something about activating the GPU emulation for the emulator.
Hope it helps
-
[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@ -
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.
-
Maybe an OpenGL driver issue
-
New, more complete log (it captures some java exceptions at the start) :
http://pastebin.com/eJrYLcnb -
[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.
-
What graphic card do you have on your computer ?
-
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.
-
More complete log: http://pastebin.com/cagcpw49
Also created this: https://bugreports.qt.io/browse/QTBUG-44697