Quote Originally Posted by pl01 View Post
But I don't need a QT Application... by example my library is used with Java or C# !!! So, I just need :
1 - Create a DLL with QT embeded in it
2 - Avoid the use of QApplication because it is not an application
In short - use QApplication (or QCoreApplication, to be more precise). If the word "application" stings your eyes, you can always write this line:
Qt Code:
  1. typedef QCoreApplication QLolipop;
To copy to clipboard, switch view to plain text mode 
and use QLolipop instead of QCoreApplication. It surely won't make your code become sweet and sticky. I would worry more about how you intend to run the event loop of your "not application".