Qt 5 use EGL backend for XCB

  • I am having some tearing issues with embedded Qt 5 with the XCB backend. I have just realized that perhaps this causes it to default to GLX and I have heard that one has a far greater chance of eliminating tearing using EGL. I also know that Qt has an EGL backend for XCB but I have no idea how to switch between the two. What configuration or runtime flags can I use to force it to use the one instead of the other?