[Interest] PDF to QByteArray

Guido Seifert wargand at gmx.de
Wed Feb 26 04:30:58 CET 2014



> It's possible load pdf file to QByteArray? The simple code below is not work:

But your code works perfectly. You successfully loaded the pdf file into your
QByteArray. But I suppose what you really wanted, is that your document is rendered.
Sorry, QByteArray is no pdf renderer. 

Maybe this will help you:

http://doc.qt.digia.com/qq/qq27-poppler.html


Guido



More information about the Interest mailing list