I must change xlib to xcb, becouse xlib isn't compatible with Qt5.