Quote Originally Posted by joshis1 View Post
/home/joshis1/Demo_JS/main.cpp:2: error: QWebElement: No such file or directory
Could a problem with the .pro file. Try removing the line
Qt Code:
  1. QT -= gui
To copy to clipboard, switch view to plain text mode 
I would assume that this has no consequence due to QT += webkit impying gui, but just in case.

Quote Originally Posted by joshis1 View Post
The next upcoming challenge I thinks is how to relate a java script present in any folder of my FC19 to invoke a QT function defined in the above program. How my javascript will know the path to pick the application. How it can be done?
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
_