[Interest] How to embed pdf.js

Nicolas Krieger nicolas.krieger at medecom.fr
Thu Sep 28 11:13:54 CEST 2017


Oups, I deleted the "build" directory of pdf.js. This was the mistake. 
Everything is working fine now.


Le 28/09/2017 à 10:48, Nicolas Krieger a écrit :
> Hi,
>
> I am trying to embed pdf.js in a qrc file.
>
> I can use pdf.js in a QWebView in using the complete filepath. 
> Everything is working fine, I can use buttons and load a file using 
> "runJavaScript" on a QWebEnginePage. I can also load a pdf file using 
> pdf.js user interface.
>
> But when I try to embed pdf.js in a qrc file, I just see that the pdf 
> viewer has been loaded, but I can't neither load a file nor use 
> buttons. Nothing happens.
>
> I have attached the qrc file I use.
>
> I d'ont understand what is wrong with qrc method.
>
> Nicolas Krieger
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170928/2543774a/attachment.html>


More information about the Interest mailing list