title: Why does QWebFrame::evalutateJavaScript do nothing in this case?
body: <p>I'm calling <code>QWebFrame::evaluateJavaScript</code> in one place in my code and it has no effect. However, if I replace this call with the setTimer(0) call and will call the original function when this timer times out it works. How do I know if it works or not? The JavaScript code which is evaluated in my case calls one JavaScript function which in turn makes AJAX call. This AJAX call in turn makes <code>QNetworkAccessManager</code> used by <code>QWebFrame</code> create and send a <code>QNetworkRequest</code>. There is no request being created when I call <code>QWebFrame::evalutateJavaScript</code> directly from my code, however. That's what I mean when I say it does not work in the first scenario.</p>
  
  <p>It looks like something is preventing QtWebKit and//or <code>QNetworkAccessManager</code> from carrying out their job after <code>evaluateJavaScript</code> is called. I suspect it has something to do with events and the main (gui) event loop. Any ideas?</p>