Displaying PDF
-
I have a requirement in which I need to display a PDF file into the application. We have third party libraries for performing the same.
I would like to know if I can have an embedded display of PDF in the application or will I need to start and external PDF viewer for the same.
-
Hi,
You can use "poppler":http://poppler.freedesktop.org for PDF rendering in a Qt application
-
I have one more query.
Do we get the embedded pdf file display or it opens another window to display the pdf.
-
That's up to you
-
@SGalst: Thanks for the info.
Is there any way to check if adobe reader in installed in the system using qt.
-
You can try calling the system command "which" with the name of the executable. Or if it should be installed in a known fixed place, use QFile::exists
-
Is there anyway that we can check with the system registry if the software is installed or not !
As in the current situation if we specify a particular path it will be different for different version of Adobe Reader, I would like to know if there is a generic way to implement this across various platforms.
Regards
Sam -
That is so OS even distribution specific, I can't tell
-
[quote author="DeepakBeriwal" date="1393488085"]I would like to know if I can have an embedded display of PDF in the application or will I need to start and external PDF viewer for the same.[/quote]
That depends on what facilities the third party library you already have provides. Since you don't name it we have no idea how it might be able to render on a Qt widget.