Hi Sir
I use the iMX8QM EVK and follow imx-yocto-L4.14.98_2.0.0_ga user'guide.
I can success to use SV3D-1.1 sample.
Now,I want to use QT to design the UI, so I use fsl-image-qt5-validation-imx to support QT5.
and I can use cross compile to test the qt project on iMX8 EVK.
But, when I use the OpenGL like QOpenGLWidget or QGLWidget on QT project, the terminal will show
as below:
"QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled'
I check the fsl-image-qt5-validation-imx image QT5 example, the path is /usr/share/qt5/examples/opengl/hellogl2/./hellogl2.
It has the same problem.
Please kindly to help me to solved this question
thanks a lot
Best Regards.
Hi Bio_TICFSL
I solved this issue, the solution is when I execute my test application, I need to key ./test -platform wayland-egl.
and then the application is work.
but I find another question is when I move the yuv data to y , u , v array and use the opengl to paint image.
the action spend a lot of time to complete. I don't know what's happened.
please kindly to help me solve this question
thanks a lot
Best Regards.
Hello alonghong,
You need to use the L5.4.70 at least to use OpenGL with QT.
Regards