[PATCH phonesim v3 1/2] Port to qt5