paulovap / qtpdfium

Pdf Redening on Qt
BSD 3-Clause "New" or "Revised" License
222 stars 92 forks source link

QByteArray type pdf file how to load ah? #25

Closed jlynet closed 6 years ago

jlynet commented 6 years ago

QByteArray type pdf file how to load ah?

paulovap commented 6 years ago

If I understand your question correctly you want to load a pdf file from QByteArray.

Right now I haven't written an API for that, might be an interesting addition.

But you can, as a workaround, flush your QByteArray into a temporary file. See: http://doc.qt.io/qt-5/qtemporaryfile.html

paulovap commented 6 years ago

@ai930 did this solve it for you?