Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732088 - dev-util/qdevicemonitor-1.0.1-r2 : main.cpp: error: QTextStream& QTextStreamFunctions::endl(QTextStream&) is deprecated: Use Qt::e
Summary: dev-util/qdevicemonitor-1.0.1-r2 : main.cpp: error: QTextStream& QTextStreamF...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Lopatin
Keywords: PullRequest
Depends on:
Blocks: werror qt-5.15
  Show dependency tree
Reported: 2020-07-10 11:28 UTC by Toralf Förster
Modified: 2020-07-11 16:21 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,16.38 KB, text/plain)
2020-07-10 11:28 UTC, Toralf Förster
dev-util:qdevicemonitor-1.0.1-r2:20200710-105446.log (dev-util:qdevicemonitor-1.0.1-r2:20200710-105446.log,3.09 KB, text/plain)
2020-07-10 11:28 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,234.47 KB, text/plain)
2020-07-10 11:28 UTC, Toralf Förster
environment (environment,66.36 KB, text/plain)
2020-07-10 11:28 UTC, Toralf Förster
etc.portage.tbz2 (etc.portage.tbz2,47.59 KB, application/x-bzip)
2020-07-10 11:28 UTC, Toralf Förster

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-07-10 11:28:29 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -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. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
main.cpp: In function ‘void logOutput(QtMsgType, const QMessageLogContext&, const QString&)’:
main.cpp:46:12: error: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Werror=deprecated-declarations]
   46 |     out << endl;
      |            ^~~~
compilation terminated due to -Wfatal-errors.


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


gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.41.1
  [2]   rust-1.44.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 10 Jul 2020 10:05:30 AM UTC
/var/db/repos/libressl	Wed 08 Jul 2020 06:35:15 AM UTC

emerge -qpvO dev-util/qdevicemonitor
[ebuild  N    ] dev-util/qdevicemonitor-1.0.1-r2
Comment 1 Toralf Förster gentoo-dev 2020-07-10 11:28:32 UTC
Created attachment 648776 [details]
Comment 2 Toralf Förster gentoo-dev 2020-07-10 11:28:35 UTC
Created attachment 648778 [details]
Comment 3 Toralf Förster gentoo-dev 2020-07-10 11:28:39 UTC
Created attachment 648780 [details]
Comment 4 Toralf Förster gentoo-dev 2020-07-10 11:28:42 UTC
Created attachment 648782 [details]
Comment 5 Toralf Förster gentoo-dev 2020-07-10 11:28:48 UTC
Created attachment 648784 [details]
Comment 6 Larry the Git Cow gentoo-dev 2020-07-11 16:21:50 UTC
The bug has been closed via the following commit(s):

commit 20fec9d5384f9cb3108768fa481350ba9c463ad8
Author:     Alexander Lopatin <>
AuthorDate: 2020-07-11 14:48:51 +0000
Commit:     Andreas Sturmlechner <>
CommitDate: 2020-07-11 16:21:32 +0000

    dev-util/qdevicemonitor: fix build with Qt 5.15
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Alexander Lopatin <>
    Signed-off-by: Andreas Sturmlechner <>

 .../qdevicemonitor-1.0.1-endl-is-deprecated.patch  | 27 ++++++++++++++++++++++
 .../qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild  |  1 +
 2 files changed, 28 insertions(+)