Revert "QT5 updates"

This reverts commit 32a1f5025f53faa08a05b6a9796de300f72fadb0.