<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
<p>Are you trying to run the example on Android? If so, try to make
a simple Qt3D example with a QML Scene3D object, like this:
<a class="moz-txt-link-freetext" href="https://doc.qt.io/qt-5/qt3d-scene3d-example.html">https://doc.qt.io/qt-5/qt3d-scene3d-example.html</a></p>
<p>I have had some trouble with running the other Qt3D examples on
Android, but I have not seen the same error message as you got. It
has often helped to run it through a Scene3D object, however. This
is of course only a long term solution if you are working on a QML
project. But, testing the example will give you a good indication
of whether Qt3D in general works on your device or not. If not,
there might be some issue with getting access to an OpenGL context
on your device. Then I would try to find a simple OpenGL example
for Android in Java just to check.<br>
</p>
<p><br>
</p>
<p>Cheers,</p>
<p>Svenn-Arne<br>
</p>
<div class="moz-cite-prefix">On 26. juli 2016 05:55, swarit wipra
wrote:<br>
</div>
<blockquote
cite="mid:CAMNhMCjdFs5QP=y3puvDjogO=318i7Bpc+fPmMAGT4XH3G1xaA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-size:12.8px">
<div>
<div>Hi,<br>
</div>
I am getting following error, when running <span
class="gmail-il">Qt</span> <span class="gmail-il">3d</span> app.<br>
<br>
05-19 19:26:06.857 17339 17339 W libClimateHMI.so: (null):0
((null)): Can't find surface 2<br>
05-19 19:26:06.869 221 628 D AudioFlinger:
mixer(0xab962fb0) throttle end: throttle time(3)<br>
05-19 19:26:06.877 17339 17339 W libClimateHMI.so: (null):0
((null)): Can't find surface 2<br>
05-19 19:26:47.118 221 628 D audio_hw_primary:
out_set_parameters: enter: usecase(0: playback) kvpairs:
routing=2 out->devices(2) adev->mode(0)<br>
05-19 19:26:47.169 17339 17434 E libEGL : call to OpenGL ES
API with no current context (logged once per thread)<br>
05-19 19:26:47.248 17339 17339 I System.out:
ClimateServiceIFClient : onPause<br>
05-19 19:26:47.248 17339 17339 D libClimateHMI.so: (null):0
((null)): ClimateHmiIF : NotifyOnPause --- 0xf7452b34<br>
05-19 19:26:47.248 17339 17339 D libClimateHMI.so: (null):0
((null)): UIClimateNotification : NotifyOnPause ---
0xf7452b34<br>
05-19 19:26:47.290 17339 17405 W art : Native thread
exiting without having called DetachCurrentThread (maybe
it's going to use a pthread_key_create destructor?):
Thread[10,tid=17405,Native,Thread*=0xab7c3548,peer=0x12d330a0,"QtThread"]<br>
<br>
</div>
Please guide me to fix it.<br>
</div>
<span style="font-size:12.8px">Best Regards</span><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Development mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Development@qt-project.org">Development@qt-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.qt-project.org/mailman/listinfo/development">http://lists.qt-project.org/mailman/listinfo/development</a>
</pre>
</blockquote>
<br>
</body>
</html>