Your message dated Sun, 29 Nov 2020 14:51:45 +0000
with message-id <[email protected]>
and subject line Bug#976062: fixed in qcustomplot 2.0.1+dfsg1-4
has caused the Debian Bug report #976062,
regarding qcustomplot autopkgtest fails with Qt 5.15.2: stderr: warning: ‘QRect 
QPrinter::pageRect() const’ is deprecated
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
976062: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976062
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: qcustomplot
Version: 2.0.1+dfsg1-3
Severity: important
Control: block 975962 by -1

Dear Maintainer,

qcustomplot autopkgtests fail with Qt 5.15.2, which is currently available
in experimental (but which I want to upload to unstable soon).

The test buildtest-text fails because of stderr:

  autopkgtest [02:09:14]: test buildtest-text:  - - - - - - - - - - stderr - - 
- - - - - - - -
  /tmp/tmp.CkmI82UdMG/src/mainwindow.cpp: In member function ‘void 
MainWindow::on_actionSave_Document_triggered()’:
  /tmp/tmp.CkmI82UdMG/src/mainwindow.cpp:125:60: warning: ‘QRect 
QPrinter::pageRect() const’ is deprecated: Use 
pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
    125 |     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:91,
                   from /tmp/tmp.CkmI82UdMG/src/qcpdocumentobject.h:34,
                   from /tmp/tmp.CkmI82UdMG/src/mainwindow.h:32,
                   from /tmp/tmp.CkmI82UdMG/src/mainwindow.cpp:26:
  /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/qprinter.h:259:11: note: 
declared here
    259 |     QRect pageRect() const;
        |           ^~~~~~~~

Now I think that the previously chosen strategy of fixing all deprecation
warnings was bad, and the tests should just use -Wno-deprecated-declarations.

However, this one is easy to fix: you can just use the suggested replacement
API.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: qcustomplot
Source-Version: 2.0.1+dfsg1-4
Done: Anton Gladky <[email protected]>

We believe that the bug you reported is fixed in the latest version of
qcustomplot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <[email protected]> (supplier of updated qcustomplot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 29 Nov 2020 14:11:31 +0100
Source: qcustomplot
Architecture: source
Version: 2.0.1+dfsg1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Anton Gladky <[email protected]>
Closes: 976062
Changes:
 qcustomplot (2.0.1+dfsg1-4) unstable; urgency=medium
 .
   * [f8cd577] Replace deprecated pageRect(). (Closes: #976062)
   * [663e67b] Wrap long lines in changelog entries: 2.0.1+dfsg1-3.
   * [fe2688d] Update watch file format version to 4.
Checksums-Sha1:
 519722d50ec32941c1f4803622f96b10463befcd 2232 qcustomplot_2.0.1+dfsg1-4.dsc
 b8905e8771e682a045a695bed4c5aaedf7397aae 7032 
qcustomplot_2.0.1+dfsg1-4.debian.tar.xz
 9455191a4392ba8d6521b6450b1457dffbdd303d 10825 
qcustomplot_2.0.1+dfsg1-4_source.buildinfo
Checksums-Sha256:
 152d0e4724f198376d3028d5c8992327c1f7977539a9f122059e9e05d9f38b10 2232 
qcustomplot_2.0.1+dfsg1-4.dsc
 680a18d46eaf4fdb673ced4f4a08cee8cb7c88a966313246d6adc488356c5535 7032 
qcustomplot_2.0.1+dfsg1-4.debian.tar.xz
 0adff6c78569f098ba49ee340e76c8b652ee9ed9a6798e61bc7ac77cfe16de72 10825 
qcustomplot_2.0.1+dfsg1-4_source.buildinfo
Files:
 2f8b9b560abfb18fb2486d6b6a7a9d09 2232 libs optional 
qcustomplot_2.0.1+dfsg1-4.dsc
 9302b0c417d8a615dea26c61765fb9ab 7032 libs optional 
qcustomplot_2.0.1+dfsg1-4.debian.tar.xz
 9c8d0b88be8d37f3837b6441084a93e9 10825 libs optional 
qcustomplot_2.0.1+dfsg1-4_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAl/Dnh4ACgkQ0+Fzg8+n
/wY61g//Ye1LUU1jvzvSQfU14TMbZAp67cHwLUCk9lfkbLD/BofT74m4YlI3ovz1
6uYMbJlMlvZ82Jr4VYWvaLu2cWxn2s+1gkE3eZ0859fV5Kk3hEyGRjTRikU1hZC5
H5W6kMlViEluogek5BMhpO1Bo1pASbR1dejWZGopKFr66lP3MG+SV/R0SESYA6w3
nTq9xikTskHG1+xvLpKA6jw6m5wxpQ6muxUla3tX8WyH2SuLnhQxngImyEbXm2PT
QfpejFL8CfOprUCeCwiIr9zbNW6twk06Y3YsdlDmXKMo+pyfeqVNFD4zFI7QAaLo
OopDsIX5ygW4nHuEuGOIVjPqrH6qACeGHfT0+d1qP0pMe9zTirMpy02YSHRHS945
DV7ay1hr6y8iTn4GZfKOoAE6XVcPhMqGhnXl6UJdkLGZx8jYMeUsvNd/wQGzVL9m
yP1WKwFd74nlQgrxF9Z7p/9O9G1yhhQaJbI4Pz+CoZfUv9N9+qGWpT/SE6xp7lhc
RVa6Gu/MRCXJQrVyX+HU6zxZnjlzpus6qOcQja6RqTkVM0/nQtiGobqmTaOGKinG
v+8XIylOWL1KMGPVbkOml0i8IkDZiBkuY0U0ZWTHehN9601gV+yMmobS20eiWtcB
utZw0VUhkc6x621X8CECxO2xKE2/aR0bvLXThxkL64yK9ANWMeY=
=b2Te
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to