Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.10.0
-
None
-
Windows 10 Pro 64bit.
QtCreator 4.5.0
Qt 5.10.0
Description
QPrintDialog compiled with MSVC2015 64bit doesnt work with non-naitive printers (in my case it's HP Designjet 510 Plotter), while same code compiled with with MSVC2015 32bit works with both types - non-native and usual printers.
The thing is that in case of 64 bit in the folowing code the function exec() always returns 0, even if print button was pressed.
QPrinter* printer = new QPrinter(QPrinter::HighResolution); QPrintDialog printDialog(printer, this); if (printDialog.exec()) { // doesn't work with non-naitive printers; }
Also I tried to print usual code page in QtCreator 4.5.0 (based on Qt 5.10.0, MSVC 2015, 64 bit) it also doesnt work. While in QtCreator 4.5.0 (based on Qt 5.10.0, MSVC 2015, 32 bit) - everything is fine.