IIRC this is a qt bug. Have you tried your program with qt 4.3 + ?