[Qt, OSX] fix Qt4.8 compatibility with QProgressBar issue