Replacing <Qt/global.h> includes with <QtGlobal> to fix compile issue on OS X