Ignore:
Timestamp:
Dec 11, 2006, 10:54:29 PM (19 years ago)
Author:
dmik
Message:

Examples: Added #ifndef QT_NO_PRINTER to allow building when no printer support is available.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/drawdemo/drawdemo.cpp

    r160 r165  
    268268void DrawView::printIt()
    269269{
     270#ifndef QT_NO_PRINTER
    270271    if ( printer->setup( this ) ) {
    271272        QPainter paint;
     
    274275        drawIt( &paint );
    275276    }
     277#endif
    276278}
    277279
Note: See TracChangeset for help on using the changeset viewer.