final fix compiler error on mac (qt5)