Failed to run cube demo on xcb_egl in Qt5.12.5
Unsolved
General and Desktop
-
**I have installed the lxde desktop environment in Ubuntu18.04.
The DISPLAY=:0./ cube-platform xcb command is executed,The Segmentation fault (core dumping) is displayed.
I tried to turn on the debug message inside Qt and found that xcb_egl was successfully initialized
Qt eglfs on x11 is configured and compiled successfully. Is this issue related to desktop environment configuration?
-
This post is deleted!
-
The segment error statement is located under the qxcbeglwindow.cpp file:
qt-everywhere-src-5.15.9/qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_egl/qxcbeglwindow.cppm_surface = eglCreateWindowSurface(m_glIntegration->eglDisplay(), m_config, m_window, nullptr);
Found that this function is an egl universal interface, I do not understand this aspect of the problem, who can solve the confusion?