Updated programmer for Qt5.