Important: Please read the Qt Code of Conduct -

QPrinter, mix page orientation

  • I'd like to mix page orientation. For example, first of all before printing I show preview dialog. Before painting I set page orientatin Portraite, then during the painting, before paiting the second page, I set Lanscape orientation. And I get

    QPrinter::setPageLayout: Cannot be changed while printer is active

    Are there anybody who worked in direction of mixing page orientation?

Log in to reply