This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Opengl examples of Qt5 not working

Hi,


The opengl examples of Qt5 (version 5.3.2 from meta-qt5 layer) are not working when executed on machine: beaglebone black. I am using libgles version 5.1.1.1. Below is the log:

root@mel-am335x-boneblack:/usr/share/qt5/examples# ./opengl/hellowindow/hellowindow -platform xcb
Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
Cant find EGLConfig, returning null config
Cant find EGLConfig, returning null config
EGL did not suggest a VisualID (EGL_NATIVE_VISUAL_ID was zero) for EGLConfig 0
Unable to find an X11 visual which matches EGL config 0
Could not initialize EGL
Aborted
root@mel-am335x-boneblack:/usr/share/qt5/examples#

I am bit worried with this behavior. Because qtdeclarative examples are also not working because of this. A I am running it on X11 using core-image-sato image from poky.

May I know if anyone had faced this issue before? Any helping hand to resolve this issue would be great. If any more information is required do let me know.

Thanks,

Sujith H

  • Hi Sujith,

    I will forward this to the SW team.

  • Hi Sujith,

    Please follow strictly installation and user guide for posted sites. I followed them and successfully build it on my am335x evm board.
    http://processors.wiki.ti.com/index.php/RN_5_01_01_01
    http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide
    Also let's try to look your qmake.conf file explaining:
    http://processors.wiki.ti.com/index.php/Building_Qt
    http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT

    BR
    Ivan
  • Hi Ivan,

    I don't have problem with building Qt. Most of the examples built from meta-qt5 layer are running properly in the X11 based core-image-sato. The only problem I face is with opengl examples. And when I was going through the link: http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Hands_on_with_QT, I find that:
    [hellogl_es2]
    WindowSystem=libpvrQWSWSEGL.so.1

    to be used. Isn't libpvrQWSWSEGL.so.1 for wayland? I am not using wayland in core-image-sato image. So my question is whether I would be able to run opengl examples of Qt 5.3.2 on X using libgles 5.1.1.1?

    I forgot to mention that I am using poky to build the core-image-sato image.


    Thanks,
    Sujith H