Updated qtsingleapplication.