DiscussionsIssue archiveInstallation and Building

Archived discussion

Does OCCT support running on Weston desktop with Wayland protocol

Installation and BuildingFri, 07/18/2025 - 06:144 replies

Browse this forum
QuestionAuthor

I found that the compiled sample qt/OTC Overview runs on a Linux system and only supports running on X11 protocol desktops, not on Wayland protocol desktops.

Discussion

4 archived replies

Posts are displayed in their archived order.

01Commenter-1

So far, OCCT 3D Viewer relies on GLX to create OpenGL context or EGL+X11 window. Therefore, you'll need XWayland to run sample applications when using Wayland desktop.

02Author

Thank you for your reply. I'll give xwayland a try

03Commenter-2

It works on Qt & Wayland if you use this OCCT patch and build with USE_XLIB off, then and initialize the EGL context as shown in this change to gkv311's Qt sample

04Commenter-3

It works on Qt & Wayland if you use this OCCT patch and build with USE_XLIB off, then and initialize the EGL context as shown in this change to gkv311's Qt sample

Thanks a lot for the detailed advice, really appreciate it!