Sat, 10/14/2023 - 08:14
Hi, I found that OCC application can't work on wayland, that's because you can't get the window handle from winId(). https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-76983
Although, I can simply set export QT_QPA_PLATFORM=xcb
to make it work, but that isn't the final solution.
I found there is a blog that talks about wayland
However, supporting Wayland in OCCT requires further research and modifying OCCT source code. Unfortunately, there is not much of the Linux community showing an interest in providing Wayland compatibility patches to OCCT – so that this task remains a low priority feature with XWayland as a working fallback.
There are less and less people are still using X11, so it is important to native support wayland.
Sat, 10/14/2023 - 13:37
Hello, thanks for your research.
We will take a look into this new technology.
Best regards, Dmitrii.
Sat, 10/14/2023 - 13:39
New ticket: 0033505: Visualization - Wayland native support - MantisBT (opencascade.org)
Sat, 10/14/2023 - 15:41
Thanks, look forward to your result.
Sat, 01/06/2024 - 16:21
Hi, Did you made any process?
Tue, 11/05/2024 - 17:12
Hi I set export QT_QPA_PLATFORM=xcb in my IMX8 machine board..the terminal output the debug information qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Could you help me how to locate this error?
Sun, 10/15/2023 - 10:38
That problem may not because of OCC. I think that is QT's problem.
Try to search on google, a lot of people have met this problem.
https://forum.qt.io/topic/93247/qt-qpa-plugin-could-not-load-the-qt-plat...
Tue, 11/05/2024 - 17:19
I copy library libxcb-xinerama.so.0.0.0 into /usr/lib/ directory.. then run Qt Application + OCCT ..the terminal output below message ...
OpenGl_GraphicDriver, this system doesn't appear to support OpenGL!
terminate called after throwing an instance of 'Aspect_WindowDefinitionError'
Aborted