Hi,
I am using this plugin in one of my projects. I'd have to say it works quite well. However, it crashes a lot. I've tried it on both x86_64 Linux PC and Raspberry Pi 4 (64-bit) OS, Custom Poky/Yocto distro.
Reproducing the crashes:
It seems to me like "loaded" flag does not function correctly. It is almost always true. Shouldn't there be a flag for "document completely loaded"? If the document is not visible and waiting for the load because you zoomed and you select a new file, you get a Segmentation fault. (possibly related to poppler)
Also, after you select .pdf file it also gives Segmentation fault randomly. This does not happen on PC if you wait 5 second between .pdf file selections. If you do it quickly, it even crashes on PC. "Error (0): Call to Object where the object was type 13, not the expected type 7"
I am using poppler 0.82 with Qt 5.13.0.
Do you have any suggestions or validated versions to avoid such problems? Thank you.
Is it possible to display one page at a time with fit to screen width or Screen Height
Right now it is in continuous scrolling mode with multiple pages ( pages are one below the other )
When you zoom in on a PDF and it seems to zoom in on the center of the page and not allow you to pan to the left or the right to see the content. Is there a way to enable this behavior? Thanks!
i open the Poppler-QML-plugin in Qt creator and build it with no errors.
How do i use the plug in?
If i include it like this #include <poppler-qt5.h> i get an error: "no such file or directory"