Could a problem with the .pro file. Try removing the line
I would assume that this has no consequence due to QT += webkit impying gui, but just in case.
I don't quite understand the question. You program loads the HTML into its QWebPage instance, in your code snippet called "myWebPage".
Any JavaScript in that HTML file or loaded by it sees the environment you prepared, including your exported object.
Cheers
_






Reply With Quote

Bookmarks