<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Got it running in raster at least! See below.</div><br><div><div>On Aug 16, 2011, at 4:13 AM, Thomas Senyk wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I've added the mailing-list.<br><br><br>On Tuesday, August 16, 2011 03:54:38 AM ext Tyler Mandry wrote:<br><blockquote type="cite">On Aug 16, 2011, at 3:22 AM, Thomas Senyk wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Never tried opengl es1<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">... I don't see the point, as I've never seen an opengl es1 android<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">device. Is there one?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm interested because I have some es1 code that I want to use with Qt. It<br></blockquote><blockquote type="cite">runs on Android already. Just have to get it to play nice with Qt. Every<br></blockquote><blockquote type="cite">Android device that support GLES 2 also supports GLES 1.1 and 1.0. It's a<br></blockquote><blockquote type="cite">documented guarantee.<br></blockquote><br>A, OK! Good information :)<br><br><blockquote type="cite"><blockquote type="cite">Besides that:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">E/libEGL ( 4822): called unimplemented OpenGL ES API<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sounds a lot like "There is no OpenGL ES1!"<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'll take a closer look at what's going on.<br></blockquote><br>Would be interesting .... If it's guaranteed then I guess the reference device <br>(nexus one) should have it ;)<br><br>I will probably have no time this week, but maybe I can give it a try next <br>week. Would be interesting to see.<br>Although "legacy code" is the only good use-case for that I think.<br></div></blockquote><div><br></div>I would disagree; a lot of people still use GLES v1 because it's "easier" and gives you something to start with. GLES v2 isn't a superset; you have to make custom shaders to do anything, even if you want to just draw lines on the screen. It gives more flexibility but at a cost.</div><div><br><blockquote type="cite"><div><br><br>How does you setup look like ... You want to use QGLWidget (fullscreen), put <br>your GL-code into paintGL() for rendering?<br></div></blockquote><div><br></div><div>Something like that. The code is flexible and I can easily work it into that kind of setup.</div><br><blockquote type="cite"><div><br><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">About raster:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Good questions ... have you tried to get debugging running?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Not until now. I'm pretty certain that it's caused by this:<br></blockquote><blockquote type="cite">JNI WARNING: inst fieldID 0x4218e084 not valid for class<br></blockquote><blockquote type="cite">Landroid/view/Surface; The crash signal is SIGSEGV and the fault adds is<br></blockquote><blockquote type="cite">0xdeadd00d which indicates that the VM aborting is what caused the app to<br></blockquote><blockquote type="cite">die.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here's a backtrace from logcat, when using libandroid-9.so. Not very useful.<br></blockquote><blockquote type="cite">I/DEBUG ( 65): #00 pc 00046240 /system/lib/libdvm.so I/DEBUG<br></blockquote><blockquote type="cite"> ( 65): #01 pc 0003760c /system/lib/libdvm.so I/DEBUG ( <br></blockquote><blockquote type="cite">65): #02 pc 00038522 /system/lib/libdvm.so I/DEBUG ( 65): <br></blockquote><blockquote type="cite"> #03 pc 00038c12 /system/lib/libdvm.so I/DEBUG ( 65): <br></blockquote><blockquote type="cite">#04 pc 00033fcc /system/lib/libandroid_runtime.so I/DEBUG ( 65): <br></blockquote><blockquote type="cite"> #05 pc 00054f50 /system/lib/libandroid_runtime.so I/DEBUG ( 65): <br></blockquote><blockquote type="cite"> #06 pc 0000057e /system/lib/libjnigraphics.so<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Interestingly, this is the same error I got when I tried loading<br></blockquote><blockquote type="cite">libandroidGL-5.so and libandroid-5.so. Changing to libandroidGL-9.so fixed<br></blockquote><blockquote type="cite">that problem and the program runs (without displaying anything because of<br></blockquote><blockquote type="cite">GL errors.) But running with libandroid-9.so for raster pulls up this error<br></blockquote><blockquote type="cite">again.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Here's a backtrace when using libandroid-5.so:<br></blockquote><blockquote type="cite">I/DEBUG ( 65): #00 pc 00046240 /system/lib/libdvm.so<br></blockquote><blockquote type="cite">I/DEBUG ( 65): #01 pc 0003760c /system/lib/libdvm.so<br></blockquote><blockquote type="cite">I/DEBUG ( 65): #02 pc 00038522 /system/lib/libdvm.so<br></blockquote><blockquote type="cite">I/DEBUG ( 65): #03 pc 00038c12 /system/lib/libdvm.so<br></blockquote><blockquote type="cite">I/DEBUG ( 65): #04 pc 00033fcc <br></blockquote><blockquote type="cite">/system/lib/libandroid_runtime.so I/DEBUG ( 65): #05 pc<br></blockquote><blockquote type="cite">00054f50 /system/lib/libandroid_runtime.so I/DEBUG ( 65): #06<br></blockquote><blockquote type="cite"> pc 0000ba88 /data/local/qt/plugins/platforms/android/libandroid-5.so<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Aha.. This looks more useful. And with gdb I got a code listing:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">(gdb) list *0xba88<br></blockquote><blockquote type="cite">0xba88 is in AndroidBitmap_getInfo<br></blockquote><blockquote type="cite">(../../src/native/graphics/jni/bitmap.cpp:26). 21<span class="Apple-tab-span" style="white-space:pre"> </span> <br></blockquote><blockquote type="cite">AndroidBitmapInfo* info) {<br></blockquote><blockquote type="cite">22<span class="Apple-tab-span" style="white-space:pre"> </span> if (NULL == env || NULL == jbitmap) {<br></blockquote><blockquote type="cite">23<span class="Apple-tab-span" style="white-space:pre"> </span> return ANDROID_BITMAP_RESULT_BAD_PARAMETER;<br></blockquote><blockquote type="cite">24<span class="Apple-tab-span" style="white-space:pre"> </span> }<br></blockquote><blockquote type="cite">25<br></blockquote><blockquote type="cite">26<span class="Apple-tab-span" style="white-space:pre"> </span> SkBitmap* bm = GraphicsJNI::getNativeBitmap(env, jbitmap);<br></blockquote><blockquote type="cite">27<span class="Apple-tab-span" style="white-space:pre"> </span> if (NULL == bm) {<br></blockquote><blockquote type="cite">28<span class="Apple-tab-span" style="white-space:pre"> </span> return ANDROID_BITMAP_RESULT_JNI_EXCEPTION;<br></blockquote><blockquote type="cite">29<span class="Apple-tab-span" style="white-space:pre"> </span> }<br></blockquote><blockquote type="cite">30<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hopefully that will give you more of the information you need. I could keep<br></blockquote><blockquote type="cite">hacking at it but it's very late here..<br></blockquote><br>So this is backtrace from libandroid-5.so, right?<br>If so, this is a known problem when using a <8 plugin on a >=8 device.<br><br>If not ... I guess this is a bug in our code :)<br><br></div></blockquote><div><br></div><div>Yep. So nothing new here then.</div><br><blockquote type="cite"><div><br>A general advice:<br>Have you made sure that all linking and including to (Qt)OpenGl was removed?<br>(best starting point: projects file remove the QT += opengl)<br><br></div></blockquote><div><br></div><div>I had done all that on the C++ side. But I looked again and what I missed was that in QtActivity.java, line 135 was "<span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">m_surface.applicationStared(</span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><span style=" color:#c0c0c0;"> </span><font class="Apple-style-span" color="#808000">true</font></span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; "><span style=" color:#c0c0c0;"> </span></span><span class="Apple-style-span" style="font-family: monospace; white-space: pre; ">);</span><span class="Apple-style-span" style="white-space: pre; ">" where the param is "usesGL". Changing that to false allows it to run in raster mode. This really ought to be commented on or (better yet) not hardcoded.</span></div><div><span class="Apple-style-span" style="white-space: pre; "><br></span></div><div><span class="Apple-style-span" style="white-space: pre; ">So it's running! Raster mode is painfully slow :) Now to see if we can get OpenGL...</span></div><br><blockquote type="cite"><div><br>Greets<br>Thomas <br><br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite">Tyler<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">I'm from Germany :)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Greets<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thomas<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">On Monday, August 15, 2011 04:00:21 PM ext Tyler Mandry wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Yes, I figured this out after awhile. I ended up compiling on<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">experimental, which looks like it's the same as master right now,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">unless my git-fu is lacking.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I've gotten everything compiled, but haven't gotten qmlshowcase to<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">run. I'm on OS X (Lion). Here's what I've done so far:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Changed TARGET on line 61 of qmlshowcase.pro from "./bin/qmlshowcase"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">to<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">just "qmlshowcase" The app was not finding the app library before I<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">did<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">this. Also, there seems to be a bug that is causing the build to stick<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">that library in "<build-dir>/libs./bin/". It creates a new directory<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">called "libs." instead of getting rid of the . or adding a slash<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">before it. Removing the path from the target fixed this problem.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Added these lines to the top of startApp() in QtActivity.java:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"> getIntent().putExtra("use_local_qt_libs", "true");<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"> getIntent().putExtra("load_local_libs",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"plugins/platforms/android/libandroid-9.so"); Qt Creator is failing to<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">start my application (presumably with the "use_local_qt_libs" intent<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">set to true) when I have the option selected to deploy local libs.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">For some reason it says it's starting the app, and nothing happens on<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">the Android end. (It does push the libs to the device just fine,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">however.) So I'm manually injecting the option. Next, the app is not<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">loading the Android plugin. I don't see any evidence of it trying. As<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">a result I force it to load the android-9 lib. (I change it to<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">libandroidGL-9.so when trying to use GL.)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">So far it fails in both raster and OpenGL modes. Log snippet for<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">raster:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): environmentString<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"HOME=/data/data/eu.licentia.necessitas.industrius.example.qmlshowcase<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/file<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">s<span class="Apple-tab-span" style="white-space:pre"> </span>TMPDIR=/data/data/eu.licentia.necessitas.industrius.example.qmlshow<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">case/fi<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">les<span class="Apple-tab-span" style="white-space:pre"> </span>CACHE_PATH=/data/data/eu.licentia.necessitas.industrius.example.q<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">mlshowc ase/cache<span class="Apple-tab-span" style="white-space:pre"> </span>QML_IMPORT_PATH=/data/local/qt/imports<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">QT_PLUGIN_PATH=/data/local/<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">qt/plugins"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">("HOME=/data/data/eu.licentia.necessitas.industrius.example.qmlshowcas<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">e/fil es",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"TMPDIR=/data/data/eu.licentia.necessitas.industrius.example.qmlshowca<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">se/fi les",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"CACHE_PATH=/data/data/eu.licentia.necessitas.industrius.example.qmlsh<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">owcas e/cache", "QML_IMPORT_PATH=/data/local/qt/imports",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"QT_PLUGIN_PATH=/data/local/qt/plugins") D/Qt ( 4768):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">paramsString<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"QtApp<span class="Apple-tab-span" style="white-space:pre"> </span>-platform<span class="Apple-tab-span" style="white-space:pre"> </span>android"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">W/Qt ( 4768): WARNING: QApplication was not created in the main()<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">thread. D/Qt ( 4768): QAndroidPlatformIntegrationPlugin::create<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"android" D/Qt ( 4768):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">QAndroidPlatformIntegration::QAndroidPlatformIntegration(): creating<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">QAndroidPlatformScreen => Using Raster (Software) for painting D/Qt <br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"> ( 4768): QFbScreen::setPhysicalSize QSize(74, 124)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): QFbScreen::setGeometry QRect(0,0 480x800)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">QAndroidPlatformScreen::QAndroidPlatformScreen():QFbScreen() D/Qt <br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">(<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">4768): setDisplayMetrics<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDisplayMetrics done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDesktopSize<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDesktopSize done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/Qt JAVA ( 4768): surfaceChanged: 480,762<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDisplayMetrics<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDisplayMetrics done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDesktopSize<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDesktopSize done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/Qt JAVA ( 4768): surfaceChanged: 480,762<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDisplayMetrics<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDisplayMetrics done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDesktopSize<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setDesktopSize done<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/ActivityManager( 96): Displayed<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">eu.licentia.necessitas.industrius.example.qmlshowcase/eu.licentia.nece<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ssita s.industrius.QtActivity: +365ms (total +1m41s955ms)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">W/IInputConnectionWrapper( 4148): showStatusIcon on inactive<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">InputConnection D/Qt ( 4768): createPlatformWindow false<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): setFullScreen false<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): QFbScreen::setPhysicalSize QSize(74, 124)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): QFbScreen::setGeometry QRect(0,0 480x762)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): QFbScreen::setPhysicalSize QSize(74, 124)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): QFbScreen::setGeometry QRect(0,0 480x762)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): QFbScreen::setPhysicalSize QSize(74, 124)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4768): QFbScreen::setGeometry QRect(0,0 480x762)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">W/dalvikvm( 4768): JNI WARNING: inst fieldID 0x4218e084 not valid for<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">class Landroid/view/Surface; I/dalvikvm( 4768): "Thread-11" prio=5<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">tid=9 RUNNABLE I/dalvikvm( 4768): | group="main" sCount=0 dsCount=0<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">obj=0x40526710 self=0x300138 I/dalvikvm( 4768): | sysTid=4777<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">nice=0 sched=0/0 cgrp=default handle=2776304 I/dalvikvm( 4768): |<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">schedstat=( 1585815437 269531244 322 )<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/dalvikvm( 4768): at dalvik.system.NativeStart.run(Native Method)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/dalvikvm( 4768):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">E/dalvikvm( 4768): VM aborting<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">OpenGL might well be failing because I configured it with "-opengl<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">es1" and not es2. From what I gather this should be possible to do,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">as far as mainstream Qt goes, but maybe the eglfs plugin doesn't<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">configure it for es1 or something. Here's the log:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4822): environmentString<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"HOME=/data/data/eu.licentia.necessitas.industrius.example.qmlshowcase<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/file<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">s<span class="Apple-tab-span" style="white-space:pre"> </span>TMPDIR=/data/data/eu.licentia.necessitas.industrius.example.qmlshow<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">case/fi<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">les<span class="Apple-tab-span" style="white-space:pre"> </span>CACHE_PATH=/data/data/eu.licentia.necessitas.industrius.example.q<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">mlshowc ase/cache<span class="Apple-tab-span" style="white-space:pre"> </span>QML_IMPORT_PATH=/data/local/qt/imports<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">QT_PLUGIN_PATH=/data/local/<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">qt/plugins"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">("HOME=/data/data/eu.licentia.necessitas.industrius.example.qmlshowcas<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">e/fil es",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"TMPDIR=/data/data/eu.licentia.necessitas.industrius.example.qmlshowca<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">se/fi les",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"CACHE_PATH=/data/data/eu.licentia.necessitas.industrius.example.qmlsh<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">owcas e/cache", "QML_IMPORT_PATH=/data/local/qt/imports",<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"QT_PLUGIN_PATH=/data/local/qt/plugins") D/Qt ( 4822):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">paramsString<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"QtApp<span class="Apple-tab-span" style="white-space:pre"> </span>-platform<span class="Apple-tab-span" style="white-space:pre"> </span>android"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">W/Qt ( 4822): WARNING: QApplication was not created in the main()<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">thread. D/Qt ( 4822): QAndroidPlatformIntegrationPlugin::create<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"android" D/Qt ( 4822):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">QAndroidPlatformIntegration::QAndroidPlatformIntegration(): creating<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">QAndroidEglFSScreen => Using OpenGL painting D/libEGL ( 4822): loaded<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">/system/lib/egl/libGLES_android.so<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/libEGL ( 4822): loaded /system/lib/egl/libEGL_adreno200.so<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/Qt JAVA ( 4822): surfaceChanged: 480,762<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4822): setSurface 0x2a8908 0x2a8900<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/Qt JAVA ( 4822): surfaceChanged: 480,762<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/Qt ( 4822): setSurface 0x2a8908 0x2a8900<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/libEGL ( 4822): loaded /system/lib/egl/libGLESv1_CM_adreno200.so<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">D/libEGL ( 4822): loaded /system/lib/egl/libGLESv2_adreno200.so<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I/ActivityManager( 96): Displayed<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">eu.licentia.necessitas.industrius.example.qmlshowcase/eu.licentia.nece<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">ssita s.industrius.QtActivity: +350ms W/Qt ( 4822): Opened<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">display 0x1 W/Qt ( 4822): Initialized display 1 4<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">W/Qt ( 4822): An error in Android-EGLFS-QPA-plugin occurred in<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">funtion void* q_configFromQPlatformWindowFormat(void*, const<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">QPlatformWindowFormat&), when calling eglChooseConfig. eglGetError<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">returned: 300c D/Qt ( 4822): ANativeWindow_settings width 480 <br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">height 762 format 1 D/Qt ( 4822):<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">QAndroidEglFSScreen::createWindowSurface 0x2a8908<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">W/IInputConnectionWrapper( 4148): showStatusIcon on inactive<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">InputConnection E/libEGL ( 4822): called unimplemented OpenGL ES API<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">E/libEGL ( 4822): called unimplemented OpenGL ES API<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">E/libEGL ( 4822): called unimplemented OpenGL ES API<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">E/libEGL ( 4822): called unimplemented OpenGL ES API<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">E/libEGL ( 4822): called unimplemented OpenGL ES API<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">E/libEGL ( 4822): called unimplemented OpenGL ES API<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">...and so on...<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I'm running on a Nexus One with 2.3.4.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I can post some or all of this on necessitas-devel if you want. Also,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">what are your working hours GMT? I'm in the US, and I take it you<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">aren't, so it would help to know.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks for your help,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Tyler<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">On Aug 15, 2011, at 4:39 AM, <<a href="mailto:thomas.senyk@nokia.com">thomas.senyk@nokia.com</a>> wrote:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">No! This branch is deprecated.<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Use master!<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">There you will see that there are software and opengl plugins.<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">If you got everything build, I can help you get i running tomorrow<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">(Today I'm out-of-office)<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Greets<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thomas<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">________________________________________<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">From: ext Tyler Mandry [<a href="mailto:tmandry@gmail.com">tmandry@gmail.com</a>]<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Sent: Monday, August 15, 2011 1:12 AM<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">To: Senyk Thomas (Nokia-DXM/Munich)<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Subject: Compiling experimental-eglfs-jw<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi Thomas,<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I'm compiling your GL branch of Necessitas. I'm using the<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">"experimental-eglfs-jw" branch, is this correct?<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Also, is GLES v1.x supported, or only 2.0?<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">When I get this compiled I should be able to get it tested on a<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">handful<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">of different devices and get back to you.<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks,<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Tyler Mandry<br></blockquote></blockquote></blockquote></blockquote></div></blockquote></div><br></body></html>