Hello,

I generate pdfs by using QPainter to paint onto a QPrinter. My understanding is that the generated pdf has a transparent background, even though most viewers view the pdf with a white background. I am able to view the pdf with a different color background with Okular for example. I'm wondering if there is any way to change the background color of QPdfView (to black)? I tried changing the palette of QPdfView or change it's style sheet but those didn't do it. Does anyone know if there is any way to display the pdf with a different background color using QPdfView?

Josh

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to