Work on QT5 conversion - not compiling atm