-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FATAL:ipc_mojo_bootstrap.cc(729)] Check failed: message->data_num_bytes() <= Channel::kMaximumMessageSize #27
Comments
Use |
oh,I see.Thank you for your attention. |
After set #define QPDF_WIDGET_USE_CORS:URL scheme must be "http" or "https" for CORS request. |
Qt version:Qt5.15\Qt5.14 |
Have you disabled web security as described in readme? |
I just Uncomment the #define QPDF_WIDGET_USE_CORS in qpdfwidget.h,it will achieve the same effect,I think. |
here is the message in console: and where the error be thrown |
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, Support for PDF File Viewing was added in Qt 5.13.0. |
I don’t know what the problem is. |
You may attach your pdf and I'll take a look. But mind that this project was created before Qt had a native QPdfDocument implementation. If you are on a newer Qt, you'd rather use pdf renderer that comes with Qt instead of my implementation, see https://doc.qt.io/qt-5/qtpdf-pdfviewer-example.html |
when open some big pdf,the program crash.
The text was updated successfully, but these errors were encountered: