Why doesn't Qt do that by default? Anyways $DISPLAY would be exported if bug 1084737 leads to using xauth for Xwayland.