[Interest] PDF to QByteArray

Marcelo Estanislau Geyer estanisgeyer at hotmail.com
Fri Feb 28 02:58:39 CET 2014


So that they can understand, I need to put the contents of a pdf file into a QByteArray, as this QByteArray is used as an attachment in the email sending process.

I did a test with a postscript file (.ps file) and it worked perfectly. I only have this problem with pdf files.
How can I read and properly store the content (binary) of a pdf file into a QByteArray?
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140228/5de91f31/attachment.html>


More information about the Interest mailing list