See here:
http://qt-project.org/forums/viewthread/7045