[Qt-interest] Creating QTimer from QThread
Andreas Pakulat
apaku at gmx.de
Thu Oct 13 16:47:45 CEST 2011
On 13.10.11 18:08:33, Anatoly Burakov wrote:
> Hi all
>
> I am trying to implement the following.
>
> I have a Server class, that spawns ServerThreads on each incoming TCP
> connection. ServerThread has a signal. That signal is connected to
> Server's slot. The slot creates a QTimer connects its timeout() signal
> to one of other Server's signals. The problem is that despite me
> calling QTimer::start(), it in fact doesn't start. This is the code
> illustrating the issue:
Provide a complete minimal compilable example, so we don't have to guess
what the rest of your code looks like and can actually give you
suggestions what is wrong.
Andreas
More information about the Qt-interest-old
mailing list