commiting before going to Qt