PDA

View Full Version : QPainting::begin() is returning false on Linux



martinl.bertrand
1st April 2016, 17:48
QPrinter::begin() is returning false on Linux. On my Ubuntu all is ok but when I deploy it to some other Linux target begin() fails. I have CUPS installed and configured. The printer is seen and there are no errors reported by CUPS.
I don't think my print ever got to CUPS. I have all dependencies I think. I copied the printer support lib as well.
Basically I'm invoking QPrintDialog and it lists my printer and then I'm only sending "This is a test" to printer.