[lipstick] Adapt to Qt5/qmsystem2 API changes