If you are posting a question in the section of the forum called "Qt Programming" and your profile states you are an intermediate Qt user, I'm assuming you know how to use Qt Assistant, how to write C++ code and how to solve basic problems related to your programs. If you don't fall into this category and you want a direct solution, please instead post in the "Newbie" forum which is there for the purpose. If you know how to handle a fishing pole, post in Qt Programming. If you're only after the fish, post in the Newbie section.
Sorry for being so rude and straightforward but the amount of questions asking for direct solutions has recently increased significantly and of course nobody considers himself a newbie. So consider this a moderator message, not a regular board user reply.
Bookmarks