Fixed QT_WA removal in qt5