For information, upstream (Michal Klocek) has now produced a much better patch: https://codereview.qt-project.org/#/c/245294/ Best wishes, Julian