Qt UI: change debug messages for Mac OS X