qt 5 compatibility