Re: QTimer don't start (solved)
Hi! Finally I have been able to solve the problem! I put the infinite loop in a thread and I have made that ProcessHwEvent() sends signals to other class. With signals all is ok, the problem was that I called directly to other functions.
Thanks very much to all!!
Re: QTimer don't start (solved)
You might have read the article and you might have "tried everything" but you didn't follow any of the advices from the article.
The easiest solution to your "problem" is to avoid calling waitHWEvent() which I bet is possible using solution such as QSocketNotifier or something similar. Using threads is a "sort-of" solution to the "problem" but in reality it doesn't solve the problem just works around it in some of the cases. My immediate question is how do you exit the thread if you want to finish the program? With your current "solution" the only thing you can do is to kill it the hard way.