Now compiles with QT5