fixed qt5.2 and compile for 10.8 apple macosx