Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.1
-
None
-
Windows XP SP3, QT 4.6.1, Visual Studio 2005
Description
Suppose there's a printer named "ZEBRA" declared in the control panel, and I try to use it with the following piece of code :
QPrinter printer;
printer.setPrinterName("zebra");
bool bValid = printer.isValid();
QPainter painter;
bool bBegin = painter.begin(&printer);
Because I used lowercase while the printer is declared in uppercase, isValid() will incorrectly return false. Yet, begin() will return true, and printing will work fine (as it should).
I think QPrinter::isValid() should be case insensitive under Windows.
Attachments
Issue Links
- is required for
-
QTBUG-25384 QtPrintSupport - Windows issues
- Open