glabels-qt
glabels-qt copied to clipboard
Priting does not send a print job to the printer
I am using the latest appimage file for testing the glabels-qt software. When i try to print, i choose the printer (instead of PDF file, PDF file is working fine) and then print. The terminal window where i have started glabels-qt looks like this when i press print and there is no print job send to the printer:
QPainter::begin(): Returned false QPainter::scale: Painter not active QPainter::save: Painter not active QPainter::translate: Painter not active QPainter::save: Painter not active QPainter::setClipPath: Painter not active QPainter::save: Painter not active QPainter::rotate: Painter not active QPainter::translate: Painter not active QPainter::save: Painter not active QPainter::translate: Painter not active QPainter::setWorldTransform: Painter not active QPainter::save: Painter not active QPainter::setClipRect: Painter not active QPainter::setPen: Painter not active QPainter::pen: Painter not active QPainter::pen: Painter not active QPainter::setPen: Painter not active QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore QPainter::restore: Unbalanced save/restore
Unfortunately, the appimage seems to be broken in this respect. I could have sworn this used to work. Anyway, at least on Ubuntu 19.04 it seems to be broken -- I played with it, looking at what gets deployed in the appimage, and I haven't been able to figure out what is wrong. It does not appear to fully interact with the underlying OS print system properly.
If anyone can help, please do!
Am wondering if it's a Qt issue, as using 5.9.1 on Travis - if that's what gets deployed it might be worth trying e.g. 5.9.5.
This now seems to work, at least for me on Ubuntu 19.04.
It seems that PPA versions of Qt did not integrate well with the host no matter what version I selected. I am now building on bionic and using the native Qt libraries, which seem to work, at least for me. This does mean, my AppImage won't work on anything pre-dating Bionic.
same with Ubuntu 20.10