OSX Qt5 Compatability