Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705438 - dev-util/qdevicemonitor-1.0.1-r1 : ui/MainWindow.cpp:186:54: error: const QRect QDesktopWidget::screenGeometry(int) const is deprecated: Use QGuiApplication::screens() [-Werror=deprecated-declarations]
Summary: dev-util/qdevicemonitor-1.0.1-r1 : ui/MainWindow.cpp:186:54: error: const QRe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Lopatin
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: werror qt-5.14
  Show dependency tree
 
Reported: 2020-01-14 21:01 UTC by Toralf Förster
Modified: 2020-01-18 17:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.24 KB, text/plain)
2020-01-14 21:01 UTC, Toralf Förster
Details
dev-util:qdevicemonitor-1.0.1-r1:20200114-204419.log (dev-util:qdevicemonitor-1.0.1-r1:20200114-204419.log,4.05 KB, text/plain)
2020-01-14 21:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.42 KB, text/plain)
2020-01-14 21:01 UTC, Toralf Förster
Details
environment (environment,64.93 KB, text/plain)
2020-01-14 21:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.95 KB, application/x-bzip)
2020-01-14 21:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-14 21:01:38 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Werror -Wfatal-errors -pedantic-errors -pedantic -Wextra -Wall -O3 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEBUG -DVERSION=\"1.0.1\" -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o MainWindow.o ui/MainWindow.cpp
ui/MainWindow.cpp: In member function ‘void MainWindow::loadSettings()’:
ui/MainWindow.cpp:186:54: error: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens() [-Werror=deprecated-declarations]
  186 |         QRect geom = qApp->desktop()->screenGeometry();
      |                                                      ^
compilation terminated due to -Wfatal-errors.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200111-081613

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 14 Jan 2020 19:46:00 +0000

emerge -qpvO dev-util/qdevicemonitor
[ebuild  N    ] dev-util/qdevicemonitor-1.0.1-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-14 21:01:41 UTC
Created attachment 603312 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-14 21:01:44 UTC
Created attachment 603314 [details]
dev-util:qdevicemonitor-1.0.1-r1:20200114-204419.log
Comment 3 Toralf Förster gentoo-dev 2020-01-14 21:01:47 UTC
Created attachment 603316 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-14 21:01:49 UTC
Created attachment 603318 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-14 21:01:52 UTC
Created attachment 603320 [details]
etc.portage.tbz2
Comment 6 Larry the Git Cow gentoo-dev 2020-01-18 17:16:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e5bc8128bba087654adf8f9c131666ba451fe4

commit 13e5bc8128bba087654adf8f9c131666ba451fe4
Author:     Alexander Lopatin <alopatindev@gmail.com>
AuthorDate: 2020-01-17 20:04:41 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-01-18 17:16:00 +0000

    dev-util/qdevicemonitor: fix build with Qt 5.14
    
    Closes: https://bugs.gentoo.org/705438
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Alexander Lopatin <alopatindev@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/14357
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 ...cemonitor-1.0.1-crash-after-fresh-install.patch |  1 +
 .../files/qdevicemonitor-1.0.1-qt-5.11.patch       |  1 +
 ...nitor-1.0.1-screen-geometry-is-deprecated.patch | 39 ++++++++++++++++
 .../qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild  | 52 ++++++++++++++++++++++
 4 files changed, 93 insertions(+)