I am trying to integrate Qt into my Wt application.  I got the wtwithqt example 
to build and run no problem and I integrated the libwtwithqt.a into my project. 
 I changed my application to inherit WQApplication and attempted to create a 
simple QtObject (like the one in the sample) in the virtual 
MyApplication::create() method.  The problem I am having is that I am getting 
an exception:

[2010-Jan-28 14:41:11.606307] 22371 [/ PmOcWEt6qjPLXZVP] [error] "Exception 
while streaming resourceboost::lock_error"
terminate called after throwing an instance of 'boost::lock_error'
  what():  boost::lock_error
Aborted

I believe this is coming from WebSession::notify() when it attempts to lock the 
handler.  I threw some debug statements in and this is what it looks like is 
happening:

2010-Jan-28 14:41:11.605953] 22371 [/ PmOcWEt6qjPLXZVP] [error] 
"WQApplication::notify() - BEGIN"
[2010-Jan-28 14:41:11.606010] 22371 [/ PmOcWEt6qjPLXZVP] [error] " 
DispatchThread::notify() - BEGIN"
[2010-Jan-28 14:41:11.606028] 22371 [/ PmOcWEt6qjPLXZVP] [error] 
"myPropagateEvent() - begin()"
[2010-Jan-28 14:41:11.606092] 22371 [/ PmOcWEt6qjPLXZVP] [error] 
"myPropagateEvent() - end()"
[2010-Jan-28 14:41:11.606143] 22371 [/ PmOcWEt6qjPLXZVP] [error] "waitDone() - 
begin()"
[2010-Jan-28 14:41:11.606164] 22371 [/ PmOcWEt6qjPLXZVP] [error] " 
DispatchThread::doEvent() - BEGIN"
[2010-Jan-28 14:41:11.606200] 22371 [/ PmOcWEt6qjPLXZVP] [error] 
"WQApplication::realNotify() - BEGIN"
[2010-Jan-28 14:41:11.606307] 22371 [/ PmOcWEt6qjPLXZVP] [error] "Exception 
while streaming resourceboost::lock_error"
terminate called after throwing an instance of 'boost::lock_error'
  what():  boost::lock_error
Aborted

Any help with understanding this issue would be greatly appreciated.  I am a 
bit stumped by this.  By the way, I am using Wt 3.1.0.

Thanks.

Daniel Ginsburg / email: daniel.ginsb...@childrens.harvard.edu
Principal Software Architect
Fetal-Neonatal Neuroimaging and Development Science Center
Children's Hospital Boston
300 Longwood Avenue
Boston, MA 02115
Phone: 857-218-5140


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to