[ROOT] TTimer application hangs when using QT

From: Joe Robe (joer00@bellsouth.net)
Date: Tue Apr 09 2002 - 16:51:26 MEST


hi rooters,

I use the standart root project (not root qt) and call some qt methods form
inside my MSVC exe on windows. Everything works fine until I use root
TTimer. The application basically has a timer which periodically updates an
QTable.

The whole application first resulted in some seg violationin qt dll but root
kept on working. I put qApp->lock() inside all qt methods and now everything
seems to work but adding anything to the table (calling qt's setNumRow() or
insertRows()) results in freezing of the whole application.

Has anyone any documentation on what I have to take care of when using root
with qt ? I know that qt is multi threaded on windows where root is not, so
I cant use root mutex locks. Any help would be appriciated !

Joe



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:48 MET