Em sex 28 fev 2014, às 01:58:39, Marcelo Estanislau Geyer escreveu:
> 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?

Your code was right.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to