Check whether it's platform xcb before calling QX11Info::display()
Internally QX11Info::display() calls into QPA native interface and tries to resolve the nativeResourceForIntegration for "display". Unfortunately this key also exists in other QPA plugins, e.g. in QtWayland. Calling without a check on platform results on wayland qpa in wl_display* being casted into Display*. REVIEW: 124203master
parent
4c03115882
commit
924b66c4d5
Loading…
Reference in New Issue