[Qt-interest] Calling QT objects from script embedded in html pages.

jeanmichel.123 at free.fr jeanmichel.123 at free.fr
Wed May 20 10:23:18 CEST 2009


Hello,

I display an html page with QWebPage. This html page contains javascript code.
I'd like to add calls to QT objects (such as QFile or QString).

However, when I write javascript code such as:

var a = QString ( fichier ) ;
or
var b = QFile (fichier );

an exception is captured by the try catch block.

What is the issue?
Did I miss some documentation?



More information about the Qt-interest-old mailing list