Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

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: