thank you for your suggestion.
this methods are available only in QWidgets and not in QML, is it right?
However, I’m trying to use your code but the content of my WebView doesn’t change.
this’s my code in webView loadfinished event handler
QWebElement divContainer = this->ui->webView->page()->mainFrame()->findFirstElement("div");
divContainer.setStyleProperty("height", QString::number(this->ui->webView->height()) + "px");
divContainer.setStyleProperty("width", QString::number(this->ui->webView->width()) + "px");
↧