I make a custom Linux 2.8 angstrom-lxde-image and add Qt libraries in it. I make my program and deploy on board and everything was good before I use QOpenGLWidget class. This class use OpenGL library.
I test “2dpainting” example that exist in Qt. The section in widget that should show OpenGL output was always black!
After this I download Qt Demo Image from here and test “2dpainting” example on it and the output was OK and only show some error in terminal but the output was not black and I can see the output.
What is the problem? Should I do any for using OpenGL with Qt?
Can I copy “/usr/lib/ libQt5*” files from Qt Demo Image to my custom Image?
The Qt version of Qt Demo Image is 5.12 and is different with Qt that exist in my custom Image.