Before switching to Qt5.