Be compatible with qt5.1