Add: the compatibility between Qt 4.8 and Qt 5.0