(*)add cache for qt 5