QT errors on Rocky9 (QT and VTK installed from appstream and epel repos)
-
wrote on 27 Mar 2025, 10:50 last edited by
I've read thru some of the many posts listing variations on the error, "QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled". Some note there could be a driver issue, various X libraries may not be installed, or the QT distribution was not built correctly.
On rocky9 linux the supported QT and VTK versions via the linux package tools are QT 5.15.9 and VTK 9.1.0. Our application compiles using these versions of QT and VTK. When run, the application window opens and looks to be momentarily transparent. Then it apparently captures the image of what is displayed behind it on the desktop - which is the current text being output on the terminal window from where it was run (with QT_DEBUG_PLUGINS=1). The glxinfo command lists direct rendering is enabled. I do not see there are any X or OpenGL libraries missing on the system. I would think that since the Qt distribution is supported on rocky9 linux then at least one OpenGL context is actually enabled.
I note that VTK 9.1.0 patches were installed and had to be used in order for our application to compile, but I see no patches available for QT 5.15.9. There is a link listed below to view the terminal output (because the spam filter would not let me put it in a code section). The paths listed under /home/dev/install/lib/qt/* are all soft links to the system subdirectories and/or files. The accessibility modules are not installed on the system. Thanks in advance for any debug suggestions.
log output: https://drive.proton.me/urls/4E6YT4NVM0#0OsntrkWR3v2
-
1/1