Add qglobal.h include to fix compile issue