CHG qt 5.x compatibility