QtCreator - Could not find the Qt platform plugin "xcb"

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

This is the error I get after installing qtcreator
Any way to fix this?

See the pinned issue on repo. And pin and old version. (Although I believe in the latest versions this has been fixed again )