Unsolved Browser interaction with webkit
-
How QT browser talks to the webkit and how the flow goes???
-
Well, it's not easy to explain "how flow goes" for code base with millions lines of code :)
In short, QtWebKit consists of WebKit engine which is a bunch of C++ code, Qt-specific implementations of platform-specific stuff like painting font handling which are called by WebKit internally, and Qt API layer which wraps WebKit from outside
See also https://github.com/annulen/webkit/wiki/How-QtWebKit-draws-pages
There are other resources on WebKit internals, e.g. https://trac.webkit.org/wiki and https://webkit.org/blog/
-
QWebview is the class from where the flow of QT start and this i found from the search and study. Correct me if i'm wrong.
And can you tell how the port (QT) communicates with QWebView ?? -
See code in Source/WebKit/qt. Qt API code calls into WebKit engine (WebCore) to do things like start page loading, access some data or change settings. Internal classes called as "*ClientQt" implement interfaces from WebCore to receive events or hook into WebCore inner doings, and call back to API classes to make them emit signals.
-
How do the browser calls the API in qt?
-
What do you mean? How virtual methods and signals are called?