[Qt-interest] [Qt-Interest] How can I create QPrinter from CPrintInfo?

Long Cheng kevinclcn at gmail.com
Tue Jun 22 04:41:31 CEST 2010


Hi there,

I am using Qt in my MFC application to draw some bitmaps to show in
CView. But printing bitmaps has performance and quality issues, so it
is better if I can print to QPrinter. The issue is MFC application
stores the printer info in CPrintInfo and I can't use QPrintDialog to
create QPrinter, can I create QPrinter using the CPrintInfo? How?

Thanks,
Long



More information about the Qt-interest-old mailing list