[Interest] Print() not working in 5.9.2
Sudhir Sharma
Sudhir.Sharma at mindtree.com
Tue Oct 10 08:41:16 CEST 2017
Thanks for your response. It works now. I was using wrong DLLs
Regards,
Sudhir
From: Hamish Moffatt [mailto:hamish at risingsoftware.com]
Sent: Tuesday, October 10, 2017 12:08 PM
To: Sudhir Sharma <Sudhir.Sharma at mindtree.com>
Cc: interest at qt-project.org
Subject: Re: [Interest] Print() not working in 5.9.2
* You are receiving this mail from an external source *
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 = new QTextDocument();
QPrinter printer;
QPrintDialog *dialog = new QPrintDialog(&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
________________________________
http://www.mindtree.com/email/disclaimer.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171010/be5f57a4/attachment.html>
More information about the Interest
mailing list