add minSearch for qt app