Made all downward compatible (QT4/QT5)