Add support for Qt 5 keytests