title: Run pyQT GUI main app in seperate Thread
body: <p>I am trying to add a PyQt GUI console in my already established application. But the PyQt GUI blocks the whole application making it unable to do rest of the work. I tried using QThread, but that is called from the mainWindow class. What I want is to run the MainWindow app in separate thread. </p>
  
  <pre><code>def main()
        app = QtGui.QApplication(sys.argv)
        ex = Start_GUI()
        app.exec_()  #&lt;---------- code blocks over here !
  
        #After running the GUI, continue the rest of the application task
        doThis = do_Thread("doThis")
        doThis.start()
        doThat = do_Thread("doThat")
        doThat.start()
  </code></pre>
  
  <p>My application already uses Python Threads, So my question is, what is the best approach to  achieve this process in a threaded form.  </p>