Coder Social home page Coder Social logo

dept2 / poppler-qml-plugin Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 5.0 97 KB

The fork of Poppler QML plugin from Canonical developers. This plugin makes it possible to access Poppler from within QML applications.

License: GNU General Public License v3.0

C++ 50.81% QMake 7.57% QML 41.62%

poppler-qml-plugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

poppler-qml-plugin's Issues

Segmentation faults galore with poppler 0.82

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.

Single Page Display Mode

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 )

Thanks

Unable to pan left/right when zoomed in

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!

Using the plug in

Hi,

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"

Plugin installation

Hi,

My setup:

  • Ubuntu 19.04
  • Poppler-0.82.0 installed
  • QtCreator with Qt 5.13.1
  • libpoppler-qt5-dev and libpoppler-qt5-1 installed

Copied Poppler-QML-plugin directory in /home/andrea/Qt/ then inside:
qmake
make
make install
And it showed no error.

If I try to open the inclued example in QtCreator it gives me:
qrc:/main.qml:9 module "org.docviewer.poppler" is not installed

What I'm doing wrong?

Thanks for your support

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.