Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Render PDF on QWidget
There is a way to embed a PDF document into QWidget using QPdfView (third party ?)module, but.. is is possible to render the same using a native Qt way? does QPdfDocument does the job?
JoeCFD last edited by JoeCFD
Yes, you can. Find the following example
Thats good!.. thanks.
basically this is what i need:
but still don't get what "pdfView" is.... i see no declaration/definition for it...
i see no declaration/definition for it
Check the corresponding ui file in designer or simple hover over ui->pdfView - it should tell you more about it. You can check the generated ui_code. Also you can position cursor there and press F2. There are so many ways...
@jsulm i'm manually compiling using text editor with no ui designer tool... but i can switch to designer to see what's inside.. thanks