Fixed tmpdirs for Qt4 (3)