Quoting 0xd34df00d <[EMAIL PROTECTED]>: >>> I've just got back to work on my project and as I see from wtwithqt >>> example, Qt is wrapped by Wt, latest one is kind of master, and Qt is >>> managed by it. But I need exactly inversed behavior. >>> So, I don't get how one could embed Wt's event loop into Qt's one. >>> Could someone provide minimal sample of achieving this? >> >> Have you tried starting a QThread and having Wt inside that thread? If >> you want to combine Qt and Wt signals and slots, you may want to read >> http://web.archive.org/web/20070703100120/http://scottcollins.net/articles/a-deeper-look-at-signals-and-slots.html > > All I've tried now is to read and understand the example :) I'll try > to do what you've suggested now. > > Another question is: how do I start Wt inside that thread? I don't > have argc and argv available there.
Recreate them using QCoreApplication::arguments() http://doc.trolltech.com/4.4/qcoreapplication.html#arguments It's also available from QApplication, of course. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
