Could not load the Qt platform plugin “xcb” in “” even though it was found in Rocky Linux 8


I was installing ANSYS 2023 R2 on Rocky Linux 8 and I encoutnered the error

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Solution

# dnf install python3-qt5

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.