Hi, everyone!
Using Qt QGLWidget window design, there is a problem of secondary translation error. I did the test. Only the blank window of QGLWidget can be run on LINUX-PC, but when I transplanted to IMX8M platform, I will report an error. I don't know what the situation is, hope. To your help! The QT blank window design procedure is as follows:
mQGLWidget.cpp:

main.cpp:

When the window is transplanted to the IMX8M platform, the error message is as follows:

However, running on a Linux PC is a normal display of the form, the displayed form is as follows:

I hope I can get your help soon, thank you!