title: Scheduling a thread with QTtimer?
body: <p>I am working with an extended famous Producer-Consumer problem with threads (for a homework). I have a shared queue as "my buffer" and the producer needs to produce an "element" every second.</p>
  
  <p>I am using (my first time...) QT and I want a timer so that every second the producer will generate the element.</p>
  
  <p>I dont understand QTimer library... Can someone give me an advise of what library/functions I have to use for the timer? Is just that QTimer seems to be for GUI... If Qtimer is what I have to use, then how?</p>
  
  <p>Maybe this is a dumb question, but this little thing is taking me too much time... And I dont find an aswer. </p>