According to this thread , it would seems that there is a bug in Qt in this regard. A bug report has been submitted, and hopefully, this issue will be resolved eventually. If anyone knows a workaround for this, please mention it.