#14 setNumCopies obsolete in Qt 4.7

closed-fixed
nobody
Renderer (3)
5
2011-01-11
2011-01-10
Anonymous
No

In the latest Qt version, the function setNumCopies becomes obsolete,so it becomes useless when you use the parameter -numCopies= in the version 3.2.0 , just printing a copy of your report because setNumCopies doesn't work anymore. Attending the Qt documentation, the function that you should use is the setCopyCount( int count ); introduced in the last version of Qt.

This function is used in the function
void RenderWindow::print(bool showPreview, int numCopies ) ;

Discussion

  • Chris Ryan

    Chris Ryan - 2011-01-11

    Added #ifdef to support use of new function in Qt 4.7 and later.

     
  • Chris Ryan

    Chris Ryan - 2011-01-11
    • status: open --> closed-fixed