I try to use the QtConcurrent framework now to run Wt's event loop,
after a couple of days I'd see if this is successful
And maybe we should create some kind of IRC/Jabber channel? Maillists
seem to be not very handy for discussions about technical details etc.
And now I've already got a technical question. How could I create the
argv array to pass to WRun?
The code
char *args[] = { "leechcraft-remoter", "--docroot", "." };
QtConcurrent::run (Wt::WRun, 3, static_cast<char**> (args),
&ApplicationCreator);
segfaults with Wt 2.1.3.
2008/6/13 Archimedes B. Cortes <[EMAIL PROTECTED]>:
>
>
> Pau Garcia i Quiles wrote:
>> BTW, combining Qt with Wt is trickier than what it might look like:
>> you need to combine both event loops.
>>
>>
> When this kind of setup arises, I usually run them in two separate
> threads at main(). I just create a mechanism for the two threads to
> communicate when need arises. Well, I have not tried that yet. So, far
> my previous other implementation are working just fine. I have not
> figured out if there are really side-effects not until probably I
> encountered hard to resolve bad behavior. Anyone can raise suggestion if
> this is a bad practice as I'm not really good at this part.
>
> --
> ABC-90106446
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
--
...
I say
We're growing every day
Getting stronger in every way
...
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest