Revert "qtcompat_p.h: Sync from upstream version"

Authored by kfunk on Tue, Sep 12, 9:45 PM.