This has been fixed for Qt-5.6.1: https://codereview.qt-project.org/#/c/160147/