init change for build with qt5 (part2)