Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Failed to run cube demo on xcb_egl in Qt5.12.5
Forum Update on Monday, May 27th 2025

Failed to run cube demo on xcb_egl in Qt5.12.5

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 1 Posters 250 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LoopLou
    wrote on last edited by
    #1

    **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.
    问题.png

    I tried to turn on the debug message inside Qt and found that xcb_egl was successfully initialized
    QQ图片20230504173419.png

    Qt eglfs on x11 is configured and compiled successfully. Is this issue related to desktop environment configuration?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LoopLou
      wrote on last edited by LoopLou
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • L Offline
        L Offline
        LoopLou
        wrote on last edited by
        #3

        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.cpp

        m_surface = eglCreateWindowSurface(m_glIntegration->eglDisplay(), m_config, m_window, nullptr);
        

        cb99a728-7618-4c82-939e-c0aa24771d16-image.png

        Found that this function is an egl universal interface, I do not understand this aspect of the problem, who can solve the confusion?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved