@pankaj4288
Can you send data from c++ object back to html/js? If so, do you have suggestion on what should be done different in my question here ... with that code I an unable to get variables in html/js.
Your demo is long over now, but try disabling not-connected network devices, as suggested here: https://bugreports.qt.io/browse/QTBUG-44763t
Worked for me when running the FancyBrowser example code
I got a reply from the web engine mailing list, and turns out the answer is when both conditions 2 & 3 are met. Documentation: https://code.google.com/p/chromium/codesearch#chromium/src/content/public/browser/web_contents_observer.h&q=file:web_contents_observer.h function:DidFinishLoad&sq=package:chromium&l=197
@ratwix I have found the solution : for each new connection, dynamicaly create a new WebEngineProfile with offTheRecord and new storage name (needed ?) and assign it to the current WebEngineView
Hi Rahul,
I am looking something similar i.e. logs of Qt framework. Refer https://forum.qt.io/topic/58566/how-to-print-logs-qdebug-qwarning-qcritical-qfatal-of-qt-framework-libraries-itself
Try using --log-level=0. It might work in your case.
Thanks,
Anant Agrawal
have you tried a simple alert from your Qt to Js?
QString jsCode = "alert('helloWorld');";
ui->webView_studio->page()->mainFrame()->documentElement().evaluateJavaScript(jsCode + "; null");
if this works then the problem is the syntax of your javascript inside Qt.