Ported things to qt5. Bam!