qt, qt5: use X11 path helpers