I believe this would be useful for Qt 5.9, thanks.
Updated, commit b4b556a0e24415f8e56942dbd0dee33eb0180252
Thanks!