[Qt-jambi-interest] execute a pdf file

Dawid Sip vad at poczta.onet.pl
Wed Feb 4 12:49:49 CET 2009


It worked perfectly.
Thanks Alessandro.
D.
> Hi,
>
> Have a look at QDesktopServices.openUrl():
> http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/gui/QDesktopServices.html#openUrl(com.trolltech.qt.core.QUrl)
>
> If you pass it a Url which references a local .pdf file, the standard 
> Pdf-Viewer is launched.
>
> Alessandro
>
> Dawid Sip wrote:
>   
>> Hi,
>> Im having trubble launching a pdf file with the Users Manual. I want to 
>> be able to click the menu bar entry and this should cause the file to be 
>> executed. In Win. this would start the Acrobat Reader with the file 
>> opened. The class QFile does not seem to have any exec() rutine. How do 
>> I do it then?
>> D.
>> _______________________________________________
>> Qt-jambi-interest mailing list
>> Qt-jambi-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>>     
>
> _______________________________________________
> Qt-jambi-interest mailing list
> Qt-jambi-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
>
>   




More information about the Qt-jambi-interest mailing list