Qt Demos not rendering to screen
-
wrote on 11 Feb 2016, 13:02 last edited by
Hello,
I am using Qt 5.4 build with OpenEmbedded using meta-qt5 layer at fido branch on Tegra T30 platform. I have build the meta-toolchain-qt5 for the Qt5 SDK and using it along with QtCreator. Angstrom distribution is being used and I have X11 along with the LXDE desktop environment.
I am using the Hello GL2 and Cube examples from below
http://doc.qt.io/qt-5/examples-widgets-opengl.htmlcompiling them with Qt Creator and then transferring it to the module.
Inside the window, nothing is rendered, it just stays blank. The output of ldd is as follows.
libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x40146000) libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x40526000) libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x4087f000) libGLESv2.so.2 => /usr/lib/libGLESv2.so.2 (0x40c11000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x40ce1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x400cf000) libc.so.6 => /lib/libc.so.6 (0x40d8e000) libpthread.so.0 => /lib/libpthread.so.0 (0x4002c000) libm.so.6 => /lib/libm.so.6 (0x40ec8000) libpng16.so.16 => /usr/lib/libpng16.so.16 (0x40f42000) libz.so.1 => /lib/libz.so.1 (0x40054000) libicui18n.so.54 => /usr/lib/libicui18n.so.54 (0x40f62000) libicuuc.so.54 => /usr/lib/libicuuc.so.54 (0x410dd000) libdl.so.2 => /lib/libdl.so.2 (0x40063000) librt.so.1 => /lib/librt.so.1 (0x400e8000) /lib/ld-linux-armhf.so.3 (0x4009e000) libnvrm.so => /usr/lib/libnvrm.so (0x4010d000) libnvrm_graphics.so => /usr/lib/libnvrm_graphics.so (0x40127000) libnvos.so => /usr/lib/libnvos.so (0x4007c000) libnvddk_2d.so => /usr/lib/libnvddk_2d.so (0x411e3000) libardrv_dynamic.so => /usr/lib/libardrv_dynamic.so (0x4120a000) libicudata.so.54 => /usr/lib/libicudata.so.54 (0x4121e000) libX11.so.6 => /usr/lib/libX11.so.6 (0x42a49000) libXext.so.6 => /usr/lib/libXext.so.6 (0x40016000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x42b2a000) libXau.so.6 => /usr/lib/libXau.so.6 (0x40077000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x4000a000)
No changes have been made to the source code except for the change of specifying the absolute path where cube.png or .glsl files should be loaded which in my case is /home/root.
I have no knowledge of OpenGL itself. Can anyone perhaps point as to what might be the probable cause. As far as I can tell, the libraries are linked correctly.
Thanks & Regards,
Sanchayan Maity.
1/1