mac-qt fixes