fix mac build std::abs --> qAbs