i want complete code to design a tool using qt4
IM designing a database of movies wre i have to upload an image. The following are the fields title,language,actor, actress,director,producer,musicby,image. **In the field image i have to place the image of the movie.** My database name is **movies** and table name is **details**.Pls give me the complete code on qt4 for creating the tool to use it for inserting in database.**The image file must be converted in base64 using QByteArray::toBase64 and store it in database.** Pls help its urgent.
i want complete code to design a tool using qt4
===

IM designing a database of movies wre i have to upload an image. The following are the fields title,language,actor, actress,director,producer,musicby,image. **In the field image i have to place the image of the movie.** My database name is **movies** and table name is **details**.Pls give me the complete code on qt4 for creating the tool to use it for inserting in database.**The image file must be converted in base64 using QByteArray::toBase64 and store it in database.** Pls help its urgent.