in this what i have to write instead of ...?
Unsolved
General and Desktop
-
Re: how open print dialog to select printer.
QPrinter* printer = ...;
in this what i have to write instead of ...? -
@Gaurav-Badgujar
if you already have a QPrinter object anywhere assign it.
Otherwise you can simply do new QPrinter.You may want to make sure not to create a new instance on every call though.