×
Namespaces

Variants
Actions
Revision as of 11:38, 26 November 2010 by r60600 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

About using of QPrint and QPrintDialog

From Nokia Developer Wiki
Jump to: navigation, search

When we use QPrinter and QPrintDialog,we'd better put them in the predefine.

Such as

#ifndef QT_NO_PRINTER
 
...
 
QPrinter printer(QPrinter::HighResolution);
 
QPrintDialog dialog(&printer, this);
 
...
 
#endif

or the compiling process will not be successed because of no printer support.

87 page views in the last 30 days.