I implement the ability to print reports in my project. Reports are presented as HTML content. I use for print QWebEnginePage. I need high resolution print output for reports:
QPrinter printer = new QPrinter(QPrinter::HighResolution);
But when printing with the "print" function, print fails, with message in debug:
QImage: out of memory, returning null image
When printing with ScreenResolution, everything is fine, but the result is poor quality. Version Qt - 5.10.1