Tristan Bonsall wrote: > I have modified my example code (attached) to connect the signal to an > object created in the correct QThread and the signal/slot connection > now works correctly. Unfortuanely, the application crashes when I try > to update the text in the label because calling > WApplication::instance()->session() is return an invalid pointer. I am > still digging into that.
I have now sorted out my crash by wrapping the call to update the text label with a Wt::WApplication::UpdateLock. This sets the handler correctly. Just one problem left, but it really is a different question than the one posed in the subject line of this thread, so I'll ask a separate question. Tristan ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
