[SOLVED] QWebView doesn't display d3
-
wrote on 5 Jun 2015, 19:43 last edited by ALF-100
In chrome i can see the graph from bulletChart.html, but in my application... Why i don't see the graph? My code:
int main(int argc, char *argv[])
{ QApplication a(argc, argv);view = new QWebView();
view->resize(400, 500);
view->load(QUrl("file:///C:/Users/alf-11/Documents/DGTIC/novus-nvd3-d9769b3/examples/bulletChart.html"));
view->show();
return a.exec();
}Thanks
-
wrote on 16 Jul 2015, 18:29 last edited by
When you load libraries ...(html code): <script src="http://... instead <script src="https://...