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
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to