Fix for qt 5.1, again