This is a long-standing bug in Qt since at least 2008. Unfortunately, nobody seems to be interested in fixing it.
Eventually, I'll have to hack Qt to fix it, but the idea doesn't make me very happy so to say. Things are already difficult enough without having to do the work of others.
Sorry for the inconvenience. I'll try to get this fixed for the final 1.8.0 release.