[Interest] Print() not working in 5.9.2

Hamish Moffatt hamish at risingsoftware.com
Tue Oct 10 08:37:38 CEST 2017


On 10/10/17 15:25, Sudhir Sharma wrote:
>
> Hi,
>
> These seems to be some issue with Print(). It does not seem to work on 
> 5.9.2. In fact not seen it working in any version of QT 5. Windows 64 bit.
>
> QTextDocument*document = newQTextDocument();
>
> QPrinterprinter;
>
> QPrintDialog*dialog = newQPrintDialog(&printer, this);
>
> Print Dialog not show up.
>
> Return code of dialog->exec() does match QDialog::Accepted
>

Do you have printsupport enabled (QT += printsupport in qmake)? Do you 
have the plugin deployed? (windowsprintersupport.dll in 
plugins\printsupport)?


Hamish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171010/9b9d2877/attachment.html>


More information about the Interest mailing list