Which exact version of Qt are you using? There has been a relevant bug in some recent versions of Qt...