Patch for XGuard to use with Qt5 [ci skip]