WMmono

Results 7 comments of WMmono

After set #define QPDF_WIDGET_USE_CORS:URL scheme must be "http" or "https" for CORS request.

I just Uncomment the #define QPDF_WIDGET_USE_CORS in qpdfwidget.h,it will achieve the same effect,I think. but still not work.

here is the message in console: qrc:/pdfview/pdf.js Fetch API cannot load file:///XXX.pdf. URL scheme must be "http" or "https" for CORS request. and where the error be thrown var PDFFetchStreamReader...

> You have to inject the --disable-web-security argument into your application as explained in readme. I uncomment the //#define QPDF_WIDGET_USE_CORS in qpdfwidget.h, and it can inject the --disable-web-security argument into...