fix qt5 and add internal angle