Qt World Summit: Submit your Presentation


Recover QPrintDialog range on linux.



  • When I run QPrintDialog under the options in the dialog box I get 3 options for print range:
    Print all
    Pages from .. to
    Pages

    When I select "Pages from .. to" QPrint printRange returns QPrinter::PageRange and fromPage and toPage return appropriate numbers. If I select Pages and enter a range QPrint printRange returns QPrinter::AllPages. My questions are why is printRange returning QPrinter::AllPages and how do I recover the ranges I have entered. My build is Qt 5.14.0 and is running on linux 5.11.16.
    Thanks


Log in to reply