Re: Paul Gevers > With a recent upload of qcustomplot the autopkgtest of qcustomplot fails in > testing when that autopkgtest is run with the binary packages of qcustomplot > from unstable.
I uploaded the pending changes as an NMU, plus ignoring a compiler warning on stderr: [ 66%] Building CXX object CMakeFiles/plots.dir/mainwindow.cpp.o /tmp/tmp.T3AXT8d62g/src/mainwindow.cpp: In member function ‘void MainWindow::on_actionSave_Document_triggered()’: /tmp/tmp.T3AXT8d62g/src/mainwindow.cpp:127:59: warning: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations] 127 | ui->textEdit->document()->setPageSize(printer.pageRect().size()); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprintengine.h:45, from /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/QtPrintSupport:14, from /usr/include/qcustomplot.h:97, from /tmp/tmp.T3AXT8d62g/src/qcpdocumentobject.h:34, from /tmp/tmp.T3AXT8d62g/src/mainwindow.h:32, from /tmp/tmp.T3AXT8d62g/src/mainwindow.cpp:26: /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:259:11: note: declared here 259 | QRect pageRect() const; | ^~~~~~~~ [ 83%] Building CXX object CMakeFiles/plots.dir/qcpdocumentobject.cpp.o NMU diff: https://salsa.debian.org/science-team/qcustomplot/-/merge_requests/5 Christoph