It's hard to give any general instructions for enabling EGL on your device. Do you know for sure that your device supports EGL and OpenGLES?
It's hard to give any general instructions for enabling EGL on your device. Do you know for sure that your device supports EGL and OpenGLES?
Hi,
Thanks for your reply....
For Opengl any particular hardware is required?? If there Can you please mention details????
Thanks in advance
It could also be that Qt was not built with support either OpenGL or EGL for the device.
What device are you using? Have you built Qt yourself or use someone's package?
Cheers,
_
My device is IMx6-Sololite.
Yes,I have build Qt myself and Qt version version os Qt-5.5.0.
Can you explain how to enabble support of OpenGL or EGL for the device.
We did configuration as follows
".//configure -commercial -confirm-license -opengl es2 -device linux-imx6-g++ -device-option CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi- -sysroot /u01/rootfs -no-gcc-sysroot -I/u01/rootfs/usr/include -lz -qt-freetype -qt-xcb -icu --hostprefix=/usr/local/Qt-5.5.0 -I/root/icu/icu-25sep/icu/source/arm_install/include -L/root/icu/icu-25sep/icu/source/arm_install/lib -gstreamer 0.1"
That looks ok, did the output of configure confirm that the OpenGL ES2 support will be built?
Can you run a non-Qt OpenGL program?
Cheers,
_
No, OpenGL ES2 support is disabled i.e., I am asking how to enable it.
We didn't tried for non-Qt OpenGL program till now.
Well, if configure tells you it disabled it, then it must have missed some dependencies since the options you passed explicitly wanted it.
Maybe the necessary headers are missing in your cross-compile sysroot, etc.
That would give you at least an indication if the system on the device itself has all the necessary libraries and drivers.
Cheers,
_
Bookmarks