more better qt5 compatibility