I think something changed in the QPA part of Qt in 5.13. QtWayland had a recent fix, as it's build was broken earlier as well Here is the build log I get: [ 70%] Linking CXX static library ../../../../lib/libeglx11common.a /srcbuild/kwin/plugins/qpa/integration.cpp: In member function ‘virtual void KWin::QPA::Integration::initialize()’: /srcbuild/kwin/plugins/qpa/integration.cpp:100:5: error: ‘screenAdded’ was not declared in this scope screenAdded(dummyScreen); ^~~~~~~~~~~ /srcbuild/kwin/plugins/qpa/integration.cpp:100:5: note: suggested alternative: ‘ScreenEdges’ screenAdded(dummyScreen); ^~~~~~~~~~~ ScreenEdges /srcbuild/kwin/plugins/qpa/integration.cpp: In member function ‘void KWin::QPA::Integration::initScreens()’: /srcbuild/kwin/plugins/qpa/integration.cpp:203:9: error: ‘screenAdded’ was not declared in this scope screenAdded(screen); ^~~~~~~~~~~ /srcbuild/kwin/plugins/qpa/integration.cpp:203:9: note: suggested alternative: ‘ScreenEdges’ screenAdded(screen); ^~~~~~~~~~~ ScreenEdges /srcbuild/kwin/plugins/qpa/integration.cpp:208:9: error: ‘screenAdded’ was not declared in this scope screenAdded(dummyScreen); ^~~~~~~~~~~ In file included from /srcbuild/kwin/toplevel.h:28, from /srcbuild/kwin/abstract_client.h:23, from /srcbuild/kwin/client.h:29, from /srcbuild/kwin/plugins/scenes/opengl/lanczosfilter.cpp:23: /srcbuild/kwin/xcbutils.h: In function ‘QVector<xcb_rectangle_t> KWin::Xcb::regionToRects(const QRegion&)’: /srcbuild/kwin/xcbutils.h:1790:53: warning: ‘QVector<QRect> QRegion::rects() const’ is deprecated: Use begin()/end() instead [-Wdeprecated-declarations] const QVector<QRect> regionRects = region.rects(); ^
Relevant changes in Qt: In 5.12 and 5.13: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=01e1df90a7debd333314720fdd5cf6cd9964d796 In 5.13: https://code.qt.io/cgit/qt/qtbase.git/commit/?id=7a64ffb7738dc975b5008800901c8cd8ab238a0f Summary of needed replacements: screenAdded => QWindowSystemInterface::handleScreenAdded removeScreen => QWindowSystemInterface::handleScreenRemoved destroyScreen => QWindowSystemInterface::handleScreenRemoved setPrimaryScreen => QWindowSystemInterface::handlePrimaryScreenChanged
Given you have already looked and have 5.13 already if you could make a patch I would happily accept it.
Diff added on behalf of Chiitoo: https://phabricator.kde.org/D20239
Git commit 3cc39ba35eb2afa9a39925daf58354e500e4da2b by Andreas Sturmlechner, on behalf of Jimi Huotari. Committed on 03/04/2019 at 23:17. Pushed by asturmlechner into branch 'master'. Fix plugins/qpa build with Qt 5.13 Summary: Upstream moved screen maintenance functions from QPlatformIntegration to QWSI. See also: https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.13&id=01e1df90 Test Plan: Built fine with Qt 5.12.2 and Qt 5.13 stable branch. Reviewers: #kwin, zzag Reviewed By: #kwin, zzag Subscribers: zzag, arojas, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D20239 M +16 -0 plugins/qpa/integration.cpp https://commits.kde.org/kwin/3cc39ba35eb2afa9a39925daf58354e500e4da2b
Git commit 6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2 by Andreas Sturmlechner, on behalf of Jimi Huotari. Committed on 07/04/2019 at 18:54. Pushed by asturmlechner into branch 'Plasma/5.15'. Fix plugins/qpa build with Qt 5.13 Summary: Upstream moved screen maintenance functions from QPlatformIntegration to QWSI. See also: https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.13&id=01e1df90 Test Plan: Built fine with Qt 5.12.2 and Qt 5.13 stable branch. Reviewers: #kwin, zzag Reviewed By: #kwin, zzag Subscribers: zzag, arojas, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D20239 M +16 -0 plugins/qpa/integration.cpp https://commits.kde.org/kwin/6e1655e3cce082b2e7d0daf21dc58bbe3d4524f2