dv8
29th January 2013, 15:23
Here is the code from the MainWindow constructor:
view = new QWebView(this);
view->load(QUrl("http://checkusernames.com/"));
The page loads fine and there is a script on that page which is supposed to be executed when the "Check User Name" button is clicked (manually). It executes fine in IE and FireFox, but in the QWebView nothing happens. My question is: Why this script is not executed in the QWebView?
I have the WebAttribute JavascriptEnabled set to true...
view = new QWebView(this);
view->load(QUrl("http://checkusernames.com/"));
The page loads fine and there is a script on that page which is supposed to be executed when the "Check User Name" button is clicked (manually). It executes fine in IE and FireFox, but in the QWebView nothing happens. My question is: Why this script is not executed in the QWebView?
I have the WebAttribute JavascriptEnabled set to true...