fixed some file's compile error in linux and Qt 4.8.4