Moving MacOS project to Qt 4.8.5
Fixes after moving MacOS project to Qt4.8.5