Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QXcbIntegration: cannot create platform OpenGL context
Forum Update on Monday, May 27th 2025

QXcbIntegration: cannot create platform OpenGL context

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 1.3k 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.
  • S Offline
    S Offline
    sbna
    wrote on 26 Oct 2017, 13:05 last edited by
    #1

    Hi all,

    I successfully compiled Qt5.9.1 on a HPC compute node without graphics card using the MESA opengl implementation (v17.2.3) and llvmpipe as software rasterizer.
    I connect to the node using TurboVNC. Glxgears and Qt4-opengl applications works fine, but when I try to run a Qt5-opengl application I got the following error:
    QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

    I know that EGL is not enabled but GLX should be since I compiled the MESA libraries with --enable-glx. Moreover, the qt configure reports in the config.summary that xcb-glx is found:

    EGL .................................... no
    OpenVG ................................. no
    OpenGL:
    Desktop OpenGL ....................... yes
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. no
    LinuxFB ................................ yes
    VNC .................................... yes
    Mir client ............................. no
    X11:
    Using system-provided XCB libraries .. no
    EGL on X11 ........................... no
    Xinput2 .............................. no
    XCB XKB .............................. yes
    XLib ................................. yes
    XCB render ........................... yes
    XCB GLX .............................. yes
    XCB Xlib ............................. yes
    Using system-provided xkbcommon ...... no

    It's hard for me to understand the source of problems. Any hint about how to solve the issue or to better debug the problem is appreciated!

    Simone.

    1 Reply Last reply
    0

    1/1

    26 Oct 2017, 13:05

    • Login

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