go to qt assistant and see the hello world program.. and replace the label with textbox