Quote Originally Posted by wysota View Post
If you don't need an event loop then just don't call QCoreApplication::exec().
Would you even need the
Qt Code:
  1. QCoreApplication a(argc, argv);
To copy to clipboard, switch view to plain text mode 
line in that case? I'm having similar confusion as I recently wrote about here:
How to control a pure console application
I still don't feel like I understand how to properly initialize/kill/execute console applications in PyQt/PySide.