I have a gui application containing 2 plain text edits. Following is the image....img.jpg..

I wish to implement a concept that the code that I write in Plain Text Edit 1, its output is displayed in Plain Text Edit 2 as mentioned in the image i.e linking the plaintextedit1 to the gcc compiler... Is this possible in qt? If yes, can anyone help me out with this??


e.g. img1.jpg..in which plaintextedit2 is displaying the output..

Is this possible in qt?