Hello,
so I've compiled Qt to work with OpenGLES using this configure command:
./configure -prefix /home/ralph/qtdiy/targetinstalldir -embedded arm -platform qws/linux-x86-g++ -xplatform qws/linux-TIarmv7-g++ -depths 16,24,32 -qt-freetype -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-sse4.1 -no-sse4.2 -no-ssse3 -no-avx -no-cups -qt-mouse-pc -no-mouse-tslib -qt-mouse-linuxinput -plugin-mouse-pc -little-endian -commercial -opengl es2 -openvg -qt-gfx-transformed -qt-gfx-linuxfb -qt-gfx-multiscreen -plugin-gfx-powervr -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT
I had to edit linux-TIarmv7-g++/qmake.conf so that it had the following added to line 31 as otherwise it wasn't configuring properly:
-lsrv_um /home/ralphc/ezsdk/ti-ezsdk_c6a816x-evm_5_00_00_56/Graphics_SDK_4_03_00_02/gfx_dbg_es5.x/libusc.so
Most of the Qt demos work fine but the ones that use Qt _and_ OpenGL don't. I should add that all the SGX 3D OpenGL-only demos run fine on my board (e.g. OGLESCoverflow, OGLES2ChameleonMan etc).
For example, the textures demo gives this error:
./examples/opengl/textures/textures -qws -display powervr
powervr: driver not found
Aborted
Please can someone help me? I've followed the instructions pretty closely but somewhere I've gone wrong. By the way, my powervr.ini looks like this:
[default]
WindowSystem=libpvrQWSWSEGL.so
Thanks,
Ralph