fix compile error under Qt4.8