Qt issue for version 5