qstring - QT String not working for JavaScript call -
qstring - QT String not working for JavaScript call -
hello have qwebview
, next code:
for (int = 0; < datalistlongitude.size(); i++) { qstring appending = "addmarker(" + qstring(datalistlatitude.at(i)) + ", " + qstring(datalistlongitude.at(i)) + ", '" + qstring(datalistfilename.at(i)) + "');"; scriptstr << appending; frame->evaluatejavascript( appending ); } frame->evaluatejavascript( "addmarker(27.2131, 16.3242, 'test');" );
however lastly (manual) effort working (i have alert message
in html file).
qstring qwebview
Comments
Post a Comment