Quote Originally Posted by neuronet View Post
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?
It depends in whether you use any Qt functionality that expects a Qt application instance to exist.
You can try without and add it when needed.

As Wysota wrote, even if you've create an instance you don't have to run the event loop if you don't need that part of the application object's functionality.
Like in the case of the applicaiton in your stackoverflow posting.

Cheers,
_