Qt/qml xcb (unknown interface "xcb")

Hi All,

I am building a snap using a dump plugin using different applications which also include a Qt application in it. My snap is getting created successfully but while installing the snap I am facing the below error.

INFO snap “fusion-snap-pc” has bad plugs or slots: xcb (unknown interface “xcb”).

further if I tried to run the qt based application then I am facing below error,

This application failed to start because it could not find or load the Qt platform plugin “xcb”.

Any solution to resolve this issue.