QString variable to Javascript

From Qt Wiki
Revision as of 16:39, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Small snippet showing how to call two javascript functions, one without any param, and one with a QString param…

This is a simple html to test with

Now using the Designer, load this page to a QWebView in your mainwindow. And in the mainwindow.cpp

Categories: