I have been posting various queries but didn't get a fruitful reply. I have a plaintextedit in my gui app and I wish to link it to the compiler present in qt. Can anyone suggest me the steps to do the same?? Such that if I write some code in a plaintextedit, I can get its output.. My app looks like this...

compiler.jpg