Fixed tmpdirs for Qt4 (2)