Revert "qtcompat_p.h: Sync from upstream version"

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