title: Running a terminal via QT
body: <p>I am a beginner is C++.  I am trying to find, is it possible to run my program in both in QT window and Linux based. When the user logins into my system, the user can select GUI or terminal mode to run the system.</p>
  
  <p>Thus, I would like to know is it possible to do it. If possible how can I proceed on? What command should I use to switch from a QT window to a terminal?
  Do I need to create a separate set of project for both individually or using the same set of classes?</p>