Qt 6.11 is out! See what's new in the release
blog
xml file
-
-
this is working :
QUrl url=QUrl::fromLocalFile("C:/Users/Administrator/Desktop/siva.txt");
ui.textBrowser->setSource(url);this not loading:
QUrl url=QUrl::fromLocalFile("C:/Users/Administrator/Desktop/xmlinfo.xml");
ui.textBrowser->setSource(url); -
if(url.isValid()){
QMessageBox::information(0,"info",url.errorString());
}iam executed above code ....messagebox displayed
(due to new user iam unable to replying to you sir....its taking 10min time for next reply ...see ur inbox sir)
@siva9111 Does it work if you use https://doc.qt.io/qt-5/qtextedit.html#setPlainText instead of setSource?