Hello,
I want to display a pdf file in an QText Edit. I believe i have to use Qprinter
QString file= "Path/file/my.pdf
QPrinter printer;
printer.setOutputFormat(QPrinter::PdfFormat);
printer.setOutputFileName(file);
docTextEdit->print(&printer);
But QtextEdit shows nothing...
Any help?
Thanks in advance
Olivier
Bookmarks