Update for Qt