More hack at Qt OSX bug