QWebView how to load only a <div> ?
-
Hi,
I managed to load an URL in a QWebView using this:
@QUrl url("http://www.nfe.fazenda.gov.br/");
ui->webView->setUrl( url );@But my goal is to load/show only one specific <div> by its id (#someId).
How can I achieve this ?Thanks in advance.
-
Usually, webpage needs to be given:
QUrl url("http://www.nfe.fazenda.gov.br/test.html");
ui->webView->setUrl( url );