[Pkg-deepin-devel] Bug#960952: dde-qt5integration: FTBFS with Qt 5.14: no matching function for call to ‘QHighDpiScaling::logicalDpi?=()=?UTF-8?Q?’

Dmitry Shachnev mitya57 at debian.org
Mon May 18 18:40:45 BST 2020


Source: dde-qt5integration
Version: 5.0.0-1
Severity: important
Tags: ftbfs fixed-upstream
User: debian-qt-kde at lists.debian.org
Usertags: qt5.14

Dear Maintainer,

dde-qt5integration fails to build with Qt 5.14, currently available in
experimental:

  qdeepintheme.cpp: In function ‘bool updateScreenScaleFactors(DThemeSettings*, const QByteArray&, bool)’:
  qdeepintheme.cpp:574:45: error: no matching function for call to ‘QHighDpiScaling::logicalDpi()’
    574 |     qDebug() << QHighDpiScaling::logicalDpi();
        |                                             ^
  In file included from qdeepintheme.cpp:45:
  /usr/include/x86_64-linux-gnu/qt5/QtGui/5.14.2/QtGui/private/qhighdpiscaling_p.h:117:17: note: candidate: ‘static QDpi QHighDpiScaling::logicalDpi(const QScreen*)’
    117 |     static QDpi logicalDpi(const QScreen *screen);
        |                 ^~~~~~~~~~
  /usr/include/x86_64-linux-gnu/qt5/QtGui/5.14.2/QtGui/private/qhighdpiscaling_p.h:117:17: note:   candidate expects 1 argument, 0 provided

This is fixed in upstream version 5.1.0.1. Or you can backport this patch:

https://github.com/linuxdeepin/qt5integration/commit/efd0dda97034e297

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-deepin-devel/attachments/20200518/580d513b/attachment.sig>


More information about the Pkg-deepin-devel mailing list