simplify Qt version switching