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