Hello All
I need to print out an html and I am trying something to the effect below.
I am doing anything wrong.
JBQt Code:
QString html; html+= "<b>Hello</b> <i>Qt!</i>"; if (printDialog.exec()) { QTextDocument textDocument; textDocument.setHtml(html); textDocument.print(&printer); }To copy to clipboard, switch view to plain text mode
Bookmarks