Available platform plugins are: xcb. code example Example: xcb plugin qt problem sudo apt-get install --reinstall libxcb-xinerama0