Convert life-preserver to Qt5