×
Namespaces

Variants
Actions
Revision as of 15:53, 29 November 2010 by jimgilmour1 (Talk | contribs)

About using of QPrint and QPrintDialog

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Emulator / desktop / device
Compatibility
Platform(s): All Qt Supported
Symbian
Article
Keywords: QPrint, QPrintDialog
Created: (28 Nov 2010)
Last edited: jimgilmour1 (29 Nov 2010)

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 successful because of no printer support.

72 page views in the last 30 days.
×