Building now works with qt5