I wrote a code to open file in gedit by clicking a link which is displayed in QTextBrowser. But file is not getting open in gedit instead it is displaying QTextBrowser itself. Here is my code
. Tanx in advanceQt Code:
void MainWindow::openTextEdit() { p->show(); p->append("<a href = \"/home/winbros/Test.cpp\"> Link </a>"); p->setOpenExternalLinks(true); }To copy to clipboard, switch view to plain text mode
Bookmarks