Am 19.06.2012 um 19:34 schrieb Carlos Yoesly Oviedo Becerra <covi...@estudiantes.uci.cu>:
> how i can to export pdf in QT,please help me Hola Cuba! :) Viva la revolución! Puede ser que Qt necessita una revolución tambien en esto tiempo! ;) Para imprimir en formato PDF, puedes utilisar un QPrinter. En particular tienes que poner el formato a "PdfFormat" con http://qt-project.org/doc/qt-4.8/qprinter.html#OutputFormat-enum Despues puedes pintar con un QPainter. Okay, just to correct my poor spanish :) You use an instance of a QPrinter as a paint device. You paint on it with a QPainter (after having set the page format, orientation, ...), but before starting to paint you also set the format to "PdfFormat" - there you go: a PDF document is the result (refer to the Qt docs for details about printing, as previously indicated). Un saludo y mucha suerte, Oliver > > 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS > INFORMATICAS... > CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION > > http://www.uci.cu > http://www.facebook.com/universidad.uci > http://www.flickr.com/photos/universidad_uci > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest