PDA

View Full Version : How to develop QT GUI Application using HTMl 5 and QT Webkit?



kishoreksnair
23rd November 2011, 07:21
I am new in QT,developing GUI Applications.I want to develop an application with Web integration.
So i need help about this.How to interact with QT from HTMl 5?

ChrisW67
23rd November 2011, 08:03
Interact in what way?

You can retrieve and display HTML using QtWebkit
You can use JavaScript to access exposed parts of Qt: see The QtWebKit Bridge

kishoreksnair
23rd November 2011, 08:30
For eg: In HTMl 5 I have a maximize/minimize/close button on clicking these button we need to call a QT functions such as:showMax(),showMin(),close() .How can i achieve this? can you please mention sample code.

ChrisW67
23rd November 2011, 08:53
Sorry, you will need to read the documentation for yourself. There are some examples here.
You will need a good grasp of the Qt meta-object system.