If there are no printers installed on Windows or Mac then no print dialog is displayed and a message about not using the Qt print dialog is output to the message log. This is a bad user experience as they may not see the log message and so do not know why the dialog will not display. Both Windows and Mac dialogs can be displayed without printers installed, and have the option to install printers from within them. Mac also has the option of printing to PDF without a printer installed. We should allow the dialog to be displayed in this event, however this will rely on some mechanism being in place to refresh the internal printer list when any new printer is added. In the interim we should display a message box to the user asking them to install a printer first.
|For Gerrit Dashboard: QTBUG-36112
|QPrintDialog - Fix Mac when no printers installed
|macOS: Support printing when no printers are installed