qtwebkit - QtWebView VS D3.js -


so, have school project i'm doing , needed visualization tool results of of processing being done software i'm developing.

since i'm using qt software, thought of using d3.js on top of qtwebview widget. i'm testing qt "fancy browser" example simple example of d3.js. know when add javascript in index.html file, works on fancy browser. reason, javascript used in d3 script doesn't.

the thing is, i'm new both qt , d3.js, , such don't know if i'm missing regarding setup make possible, or if it's incorrect code.

some doubts had regarding situation: - qtwebview support svg elements in html file? - noticed jquery.js had added fancy browser projects' resources in order evaluated application. far tell, done enable manipulation of page's content using jquery. have similar d3? if so, how? - it's nothing shows because instructions i'm giving d3 aren't producing in html file, how can address that?

i tried searching information online i'm trying achieve, there aren't many sources around. found stuff online regarding qtwebkit , javascript, unfortunately it's not helping me much.

one final note: in machine i'm working on can't access web because not have outside access everything. furthermore, can't install webkit browser (like chrome or something) dom inspection purposes, it's not getting simpler. :s

any appreciated, thank all!

so, investigating question got following conclusions:

  • qtwebview does support svg elements in html. figure true @ least since qt v4.7, since 1 i'm presently using;
  • still don't know why d3.min.js works , "regular" d3.js doesn't;
  • d3.js doesn't have added qt's resources, calling in html file enough.

hope helps finding topic.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -