Skip navigation.
Home
The QNX Community Portal

View topic - Open file .pdf in QNX 6.5.0

Open file .pdf in QNX 6.5.0

Isn't the name clear?

Open file .pdf in QNX 6.5.0

Postby YvenFirst » Fri Sep 29, 2017 1:14 pm

Hi
Tell me, please, how to open a file with the extension .pdf
I tried using QDesktopServices :: openUrl (QUrl (QUrl :: fromLocalFile ("/ home / Proverka.pdf")))); , but I get an error "static bool QDesktopServices :: openUrl (const QUrl &): The platform plugin does not support services."
Using the class QPrintPreviewDialog, I also tried, but did not work.
thanks in advance
YvenFirst
New Member
 
Posts: 7
Joined: Wed Sep 13, 2017 7:08 am

Re: Open file .pdf in QNX 6.5.0

Postby maschoen » Fri Sep 29, 2017 3:03 pm

PDF is a proprietary format that is owned by Adobe. If you have a Windows, Mac or Linux system you can download the Adobe Acrobat reader. QNX is not supported by Adobe. The PDF format is well known and there are alternative programs that will display PDF files, example OSX Preview.

There is a Photon PDF viewer. I don't recall who wrote it but. It is not supported as far as I know but it does seem to do a good job. I've used it in systems where the user needed to view documentation files. If you would like it, send me an email at maschoen@pobox.com and I will put together an archive with the source.

Note: like anything Photon related, this will not work in any future version of QNX, eg. 6.6 or 7.0.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron