added formula for qt sdk