minor qt5 compatibility issues