[Qt-interest] Making a Qt program into a dynamic library

Guido Seifert Wargand at gmx.de
Tue Dec 15 17:34:19 CET 2009


> How will your customer's program create the QApplication needed 
> to run the event loop ? I suspect that your approach is going to 
> lead to all kinds of problems.

Cannot say for sure, but I don't really expect this to be a problem in Qt 4. I have made normal Qt plugins, with QThreads, which had their own event loop. Worked like a charm. And those plugins look like normal dynlibs to me. So if loading the lib did not crash in the first place, I would have tried to have the QApplication event loop started in a normal function.


-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02



More information about the Qt-interest-old mailing list