Paste P308

hwcomposer scaling error
ActivePublic

Authored by IlyaBizyaev on Thu, Feb 7, 10:40 PM.
[ 81%] Building CXX object plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/KWinWaylandHwcomposerBackend_autogen/mocs_compilation.cpp.o
cd /root/kwin-5.14.5/build/plugins/platforms/hwcomposer && /usr/bin/c++ -DKCOREADDONS_LIB -DKWinWaylandHwcomposerBackend_EXPORTS -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICK_LIB -DQT_SCRIPT_LIB -DQT_SENSORS_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/root/kwin-5.14.5/build/plugins/platforms/hwcomposer -I/root/kwin-5.14.5/plugins/platforms/hwcomposer -I/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/include -I/root/kwin-5.14.5/platformsupport -I/root/kwin-5.14.5/tabbox -I/root/kwin-5.14.5/effects -I/root/kwin-5.14.5/libkwineffects -I/root/kwin-5.14.5/build -I/root/kwin-5.14.5/build/libkwineffects -I/root/kwin-5.14.5/platformsupport/scenes/opengl -I/root/kwin-5.14.5 -I/root/kwin-5.14.5/build/effects -I/root/kwin-5.14.5/build/platformsupport/scenes/opengl -isystem /usr/include/i386-linux-gnu/qt5 -isystem /usr/include/i386-linux-gnu/qt5/QtDBus -isystem /usr/include/i386-linux-gnu/qt5/QtCore -isystem /usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/i386-linux-gnu/qt5/QtWidgets -isystem /usr/include/i386-linux-gnu/qt5/QtGui -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5 -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/i386-linux-gnu/qt5/QtConcurrent -isystem /usr/include/i386-linux-gnu/qt5/QtQuick -isystem /usr/include/i386-linux-gnu/qt5/QtQml -isystem /usr/include/i386-linux-gnu/qt5/QtNetwork -isystem /usr/include/i386-linux-gnu/qt5/QtSensors -isystem /usr/include/i386-linux-gnu/qt5/QtScript -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/i386-linux-gnu/qt5/QtXml -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KGlobalAccel -isystem /usr/include/i386-linux-gnu/qt5/QtX11Extras -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KNotifications -isystem /usr/include/KF5/KPackage -isystem /usr/include/KF5/Plasma -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/KDecoration2 -isystem /usr/include/KScreenLocker -isystem /usr/include/KF5/KActivities -isystem /usr/include/KF5/KWayland/Client -isystem /usr/include/KF5/KWayland/Server -isystem /usr/include/android -isystem /usr/include/hybris/hwcomposerwindow -isystem /usr/include/hybris/eglplatformcommon -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++14 -o CMakeFiles/KWinWaylandHwcomposerBackend.dir/KWinWaylandHwcomposerBackend_autogen/mocs_compilation.cpp.o -c /root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/mocs_compilation.cpp
In file included from /root/kwin-5.14.5/plugins/platforms/hwcomposer/screens_hwcomposer.cpp:21:
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:59:56: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:61:63: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void dpmsModeRequested(KWayland::Server::OutputInterface::DpmsMode mode);
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:59:10: error: 'void KWin::HwcomposerOutput::updateDpms(int)' marked 'override', but does not override
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~~~
In file included from /root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:9,
from /root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/mocs_compilation.cpp:2:
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/../../../../../../plugins/platforms/hwcomposer/hwcomposer_backend.h:59:56: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/../../../../../../plugins/platforms/hwcomposer/hwcomposer_backend.h:61:63: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void dpmsModeRequested(KWayland::Server::OutputInterface::DpmsMode mode);
^~~~~~~~
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/../../../../../../plugins/platforms/hwcomposer/hwcomposer_backend.h:59:10: error: 'void KWin::HwcomposerOutput::updateDpms(int)' marked 'override', but does not override
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~~~
In file included from /root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/mocs_compilation.cpp:2:
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp: In static member function 'static void KWin::HwcomposerOutput::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)':
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:76:59: error: expected type-specifier
case 0: _t->dpmsModeRequested((*reinterpret_cast< KWayland::Server::OutputInterface::DpmsMode(*)>(_a[1]))); break;
^~~~~~~~
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:76:59: error: expected '>'
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:76:59: error: expected '('
case 0: _t->dpmsModeRequested((*reinterpret_cast< KWayland::Server::OutputInterface::DpmsMode(*)>(_a[1]))); break;
^~~~~~~~
(
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:76:94: error: incomplete type 'KWayland::Server::OutputInterface' used in nested name specifier
case 0: _t->dpmsModeRequested((*reinterpret_cast< KWayland::Server::OutputInterface::DpmsMode(*)>(_a[1]))); break;
^~~~~~~~
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:76:104: error: expected primary-expression before ')' token
case 0: _t->dpmsModeRequested((*reinterpret_cast< KWayland::Server::OutputInterface::DpmsMode(*)>(_a[1]))); break;
^
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:82:95: error: cannot declare pointer to 'void' member
using _t = void (HwcomposerOutput::*)(KWayland::Server::OutputInterface::DpmsMode );
^
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:82:50: error: expected ';' before '(' token
using _t = void (HwcomposerOutput::*)(KWayland::Server::OutputInterface::DpmsMode );
^
;
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:83:35: error: '_t' does not name a type; did you mean 'Qt'?
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HwcomposerOutput::dpmsModeRequested)) {
^~
Qt
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:83:38: error: expected '>' before '*' token
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HwcomposerOutput::dpmsModeRequested)) {
^
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:83:38: error: expected '(' before '*' token
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HwcomposerOutput::dpmsModeRequested)) {
^
(
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:83:39: error: expected primary-expression before '>' token
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HwcomposerOutput::dpmsModeRequested)) {
^
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:83:63: error: '_t' does not name a type; did you mean 'Qt'?
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HwcomposerOutput::dpmsModeRequested)) {
^~
Qt
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:83:105: error: expected ')' before '{' token
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HwcomposerOutput::dpmsModeRequested)) {
~ ^~
)
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:87:9: error: expected primary-expression before '}' token
}
^
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:80:14: warning: unused variable 'result' [-Wunused-variable]
int *result = reinterpret_cast<int *>(_a[0]);
^~~~~~
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp: At global scope:
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:128:83: error: variable or field 'dpmsModeRequested' declared void
void KWin::HwcomposerOutput::dpmsModeRequested(KWayland::Server::OutputInterface::DpmsMode _t1)
^~~~~~~~
/root/kwin-5.14.5/build/plugins/platforms/hwcomposer/KWinWaylandHwcomposerBackend_autogen/EWIEGA46WW/moc_hwcomposer_backend.cpp:128:83: error: incomplete type 'KWayland::Server::OutputInterface' used in nested name specifier
In file included from /root/kwin-5.14.5/plugins/platforms/hwcomposer/egl_hwcomposer_backend.cpp:21:
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:59:56: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:61:63: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void dpmsModeRequested(KWayland::Server::OutputInterface::DpmsMode mode);
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:59:10: error: 'void KWin::HwcomposerOutput::updateDpms(int)' marked 'override', but does not override
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~~~
In file included from /root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:21:
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:59:56: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:61:63: error: 'KWayland::Server::OutputInterface::DpmsMode' has not been declared
void dpmsModeRequested(KWayland::Server::OutputInterface::DpmsMode mode);
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:59:10: error: 'void KWin::HwcomposerOutput::updateDpms(int)' marked 'override', but does not override
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp: In lambda function:
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:195:73: warning: unused parameter 'timestamp' [-Wunused-parameter]
procs->vsync = [] (const struct hwc_procs* procs, int disp, int64_t timestamp) {
~~~~~~~~^~~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp: In member function 'virtual void KWin::HwcomposerBackend::init()':
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:223:19: error: 'class KWin::HwcomposerOutput' has no member named 'refreshRate'
if (m_output->refreshRate() != 0) {
^~~~~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:224:45: error: 'class KWin::HwcomposerOutput' has no member named 'refreshRate'
m_vsyncInterval = 1000000/m_output->refreshRate();
^~~~~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp: In constructor 'KWin::HwcomposerOutput::HwcomposerOutput(hwc_composer_device_1_t*)':
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:519:28: error: incomplete type 'KWayland::Server::OutputDeviceInterface' used in nested name specifier
OutputDeviceInterface::Mode mode;
^~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:520:5: error: 'mode' was not declared in this scope
mode.id = 0;
^~~~
make[2]: *** [plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/build.make:105: plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/screens_hwcomposer.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make -f autotests/integration/CMakeFiles/testXClipboardSync.dir/build.make autotests/integration/CMakeFiles/testXClipboardSync.dir/depend
make[2]: *** [plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/build.make:66: plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/egl_hwcomposer_backend.cpp.o] Error 1
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:520:5: note: suggested alternative: 'mode_t'
mode.id = 0;
^~~~
mode_t
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:522:41: error: 'KWayland::Server::OutputDeviceInterface::ModeFlag' has not been declared
mode.flags = OutputDeviceInterface::ModeFlag::Current | OutputDeviceInterface::ModeFlag::Preferred;
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:522:84: error: 'KWayland::Server::OutputDeviceInterface::ModeFlag' has not been declared
mode.flags = OutputDeviceInterface::ModeFlag::Current | OutputDeviceInterface::ModeFlag::Preferred;
^~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:525:5: error: 'initWaylandOutputDevice' was not declared in this scope
initWaylandOutputDevice(QString(), QString(), QByteArray(), {mode});
^~~~~~~~~~~~~~~~~~~~~~~
make -f autotests/integration/CMakeFiles/testSceneOpenGLShadow.dir/build.make autotests/integration/CMakeFiles/testSceneOpenGLShadow.dir/depend
make[2]: *** [plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/build.make:118: plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/KWinWaylandHwcomposerBackend_autogen/mocs_compilation.cpp.o] Error 1
make -f autotests/integration/CMakeFiles/testSceneOpenGL.dir/build.make autotests/integration/CMakeFiles/testSceneOpenGL.dir/depend
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:525:5: note: suggested alternative: 'setWaylandOutputDevice'
initWaylandOutputDevice(QString(), QString(), QByteArray(), {mode});
^~~~~~~~~~~~~~~~~~~~~~~
setWaylandOutputDevice
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:527:5: error: 'setEnabled' was not declared in this scope
setEnabled(true);
^~~~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:527:5: note: suggested alternative: 'isEnabled'
setEnabled(true);
^~~~~~~~~~
isEnabled
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:528:5: error: 'setDpmsSupported' was not declared in this scope
setDpmsSupported(true);
^~~~~~~~~~~~~~~~
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testXClipboardSync.dir/DependInfo.cmake --color=
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testSceneOpenGL.dir/DependInfo.cmake --color=
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testSceneOpenGLShadow.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testXClipboardSync.dir/build.make autotests/integration/CMakeFiles/testXClipboardSync.dir/build
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:534:5: error: 'setWaylandMode' was not declared in this scope
setWaylandMode(m_pixelSize, mode.refreshRate);
^~~~~~~~~~~~~~
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testXClipboardSync.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testSceneOpenGL.dir/build.make autotests/integration/CMakeFiles/testSceneOpenGL.dir/build
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testSceneOpenGLShadow.dir/build.make autotests/integration/CMakeFiles/testSceneOpenGLShadow.dir/build
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:534:5: note: suggested alternative: 'setWaylandOutput'
setWaylandMode(m_pixelSize, mode.refreshRate);
^~~~~~~~~~~~~~
setWaylandOutput
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp: At global scope:
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:552:6: error: no declaration matches 'void KWin::HwcomposerOutput::updateDpms(KWayland::Server::OutputInterface::DpmsMode)'
void HwcomposerOutput::updateDpms(KWayland::Server::OutputInterface::DpmsMode mode)
^~~~~~~~~~~~~~~~
In file included from /root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:21:
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:59:10: note: candidate is: 'void KWin::HwcomposerOutput::updateDpms(int)'
void updateDpms(KWayland::Server::OutputInterface::DpmsMode mode) override;
^~~~~~~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.h:50:7: note: 'class KWin::HwcomposerOutput' defined here
class HwcomposerOutput : public AbstractOutput
^~~~~~~~~~~~~~~~
[ 81%] Built target testXClipboardSync
make -f autotests/integration/CMakeFiles/testPlatformCursor.dir/build.make autotests/integration/CMakeFiles/testPlatformCursor.dir/depend
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testPlatformCursor.dir/DependInfo.cmake --color=
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testSceneOpenGLShadow.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testSceneOpenGL.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
[ 82%] Built target testSceneOpenGLShadow
make -f autotests/integration/CMakeFiles/testSceneQPainterShadow.dir/build.make autotests/integration/CMakeFiles/testSceneQPainterShadow.dir/depend
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testPlatformCursor.dir/build.make autotests/integration/CMakeFiles/testPlatformCursor.dir/build
[ 82%] Built target testSceneOpenGL
make -f autotests/integration/CMakeFiles/testStart.dir/build.make autotests/integration/CMakeFiles/testStart.dir/depend
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testPlatformCursor.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testSceneQPainterShadow.dir/DependInfo.cmake --color=
[ 82%] Built target testPlatformCursor
make -f autotests/integration/CMakeFiles/testTransientNoInput_waylandonly.dir/build.make autotests/integration/CMakeFiles/testTransientNoInput_waylandonly.dir/depend
In file included from /usr/include/i386-linux-gnu/qt5/QtCore/qelapsedtimer.h:43,
from /usr/include/i386-linux-gnu/qt5/QtCore/QElapsedTimer:1,
from /root/kwin-5.14.5/platformsupport/scenes/opengl/backend.h:24,
from /root/kwin-5.14.5/platformsupport/scenes/opengl/abstract_egl_backend.h:22,
from /root/kwin-5.14.5/plugins/platforms/hwcomposer/egl_hwcomposer_backend.h:22,
from /root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:20:
/usr/include/i386-linux-gnu/qt5/QtCore/qobject.h: In instantiation of 'static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (KWin::HwcomposerOutput::*)(int); Func2 = KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>; typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type = QMetaObject::Connection; typename QtPrivate::FunctionPointer<Func>::Object = KWin::HwcomposerOutput]':
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:249:9: required from here
/usr/include/i386-linux-gnu/qt5/QtCore/qobject.h:314:9: error: static assertion failed: Signal and slot arguments are not compatible.
Q_STATIC_ASSERT_X((FunctorArgumentCount >= 0),
^~~~~~~~~~~~~~~~~
In file included from /usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs.h:50,
from /usr/include/i386-linux-gnu/qt5/QtGui/qwindowdefs.h:44,
from /usr/include/i386-linux-gnu/qt5/QtGui/qregion.h:46,
from /usr/include/i386-linux-gnu/qt5/QtGui/QRegion:1,
from /root/kwin-5.14.5/platformsupport/scenes/opengl/backend.h:25,
from /root/kwin-5.14.5/platformsupport/scenes/opengl/abstract_egl_backend.h:22,
from /root/kwin-5.14.5/plugins/platforms/hwcomposer/egl_hwcomposer_backend.h:22,
from /root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:20:
/usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h: In instantiation of 'struct QtPrivate::FunctorReturnType<KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>, QtPrivate::List<> >':
/usr/include/i386-linux-gnu/qt5/QtCore/qobject.h:317:158: required from 'static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (KWin::HwcomposerOutput::*)(int); Func2 = KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>; typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type = QMetaObject::Connection; typename QtPrivate::FunctionPointer<Func>::Object = KWin::HwcomposerOutput]'
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:249:9: required from here
/usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:349:78: error: no matching function for call to 'KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>::operator()()'
typedef decltype(dummy<Functor>().operator()((dummy<ArgList>())...)) Value;
^~~~~
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:238:69: note: candidate: 'KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>'
[this] (KWayland::Server::OutputInterface::DpmsMode mode) {
^
/root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:238:69: note: candidate expects 1 argument, 0 provided
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testTransientNoInput_waylandonly.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testSceneQPainterShadow.dir/build.make autotests/integration/CMakeFiles/testSceneQPainterShadow.dir/build
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testStart.dir/DependInfo.cmake --color=
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testSceneQPainterShadow.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testTransientNoInput_waylandonly.dir/build.make autotests/integration/CMakeFiles/testTransientNoInput_waylandonly.dir/build
[ 83%] Built target testSceneQPainterShadow
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testStart.dir/build.make autotests/integration/CMakeFiles/testStart.dir/build
make -f autotests/integration/CMakeFiles/testColorCorrectNightColor_waylandonly.dir/build.make autotests/integration/CMakeFiles/testColorCorrectNightColor_waylandonly.dir/depend
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testTransientNoInput_waylandonly.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testColorCorrectNightColor_waylandonly.dir/DependInfo.cmake --color=
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testStart.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
[ 83%] Built target testTransientNoInput_waylandonly
make -f autotests/integration/CMakeFiles/testTouchInput_waylandonly.dir/build.make autotests/integration/CMakeFiles/testTouchInput_waylandonly.dir/depend
[ 83%] Built target testStart
make -f autotests/integration/CMakeFiles/testDecorationInput.dir/build.make autotests/integration/CMakeFiles/testDecorationInput.dir/depend
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testDecorationInput.dir/DependInfo.cmake --color=
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testTouchInput_waylandonly.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testColorCorrectNightColor_waylandonly.dir/build.make autotests/integration/CMakeFiles/testColorCorrectNightColor_waylandonly.dir/build
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testTouchInput_waylandonly.dir/build.make autotests/integration/CMakeFiles/testTouchInput_waylandonly.dir/build
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testColorCorrectNightColor_waylandonly.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testDecorationInput.dir/build.make autotests/integration/CMakeFiles/testDecorationInput.dir/build
In file included from /usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs.h:50,
from /usr/include/i386-linux-gnu/qt5/QtGui/qwindowdefs.h:44,
from /usr/include/i386-linux-gnu/qt5/QtGui/qregion.h:46,
from /usr/include/i386-linux-gnu/qt5/QtGui/QRegion:1,
from /root/kwin-5.14.5/platformsupport/scenes/opengl/backend.h:25,
from /root/kwin-5.14.5/platformsupport/scenes/opengl/abstract_egl_backend.h:22,
from /root/kwin-5.14.5/plugins/platforms/hwcomposer/egl_hwcomposer_backend.h:22,
from /root/kwin-5.14.5/plugins/platforms/hwcomposer/hwcomposer_backend.cpp:20:
/usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:429:18: error: 'QtPrivate::QFunctorSlotObject<Func, N, Args, R>::QFunctorSlotObject(Func) [with Func = KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>; int N = 0; Args = QtPrivate::List<>; R = void]', declared using local type 'KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>', is used but never defined [-fpermissive]
explicit QFunctorSlotObject(Func f) : QSlotObjectBase(&impl), function(std::move(f)) {}
^~~~~~~~~~~~~~~~~~
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testTouchInput_waylandonly.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
[ 83%] Built target testColorCorrectNightColor_waylandonly
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testDecorationInput.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testMaximized.dir/build.make autotests/integration/CMakeFiles/testMaximized.dir/depend
[ 83%] Built target testTouchInput_waylandonly
make -f autotests/integration/CMakeFiles/testPlasmaSurface_waylandonly.dir/build.make autotests/integration/CMakeFiles/testPlasmaSurface_waylandonly.dir/depend
[ 83%] Built target testDecorationInput
make -f autotests/integration/CMakeFiles/testInternalWindow_waylandonly.dir/build.make autotests/integration/CMakeFiles/testInternalWindow_waylandonly.dir/depend
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testMaximized.dir/DependInfo.cmake --color=
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testPlasmaSurface_waylandonly.dir/DependInfo.cmake --color=
/usr/include/i386-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:429:18: warning: 'QtPrivate::QFunctorSlotObject<Func, N, Args, R>::QFunctorSlotObject(Func) [with Func = KWin::HwcomposerBackend::init()::<lambda(KWayland::Server::OutputInterface::DpmsMode)>; int N = 0; Args = QtPrivate::List<>; R = void]' used but never defined
make[2]: Entering directory '/root/kwin-5.14.5/build'
cd /root/kwin-5.14.5/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /root/kwin-5.14.5 /root/kwin-5.14.5/autotests/integration /root/kwin-5.14.5/build /root/kwin-5.14.5/build/autotests/integration /root/kwin-5.14.5/build/autotests/integration/CMakeFiles/testInternalWindow_waylandonly.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testPlasmaSurface_waylandonly.dir/build.make autotests/integration/CMakeFiles/testPlasmaSurface_waylandonly.dir/build
make[2]: *** [plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/build.make:79: plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/hwcomposer_backend.cpp.o] Error 1
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[1]: *** [CMakeFiles/Makefile2:9159: plugins/platforms/hwcomposer/CMakeFiles/KWinWaylandHwcomposerBackend.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testMaximized.dir/build.make autotests/integration/CMakeFiles/testMaximized.dir/build
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make -f autotests/integration/CMakeFiles/testInternalWindow_waylandonly.dir/build.make autotests/integration/CMakeFiles/testInternalWindow_waylandonly.dir/build
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testPlasmaSurface_waylandonly.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testMaximized.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
make[2]: Entering directory '/root/kwin-5.14.5/build'
make[2]: Nothing to be done for 'autotests/integration/CMakeFiles/testInternalWindow_waylandonly.dir/build'.
make[2]: Leaving directory '/root/kwin-5.14.5/build'
[ 83%] Built target testPlasmaSurface_waylandonly
[ 83%] Built target testMaximized
[ 83%] Built target testInternalWindow_waylandonly
make[1]: Leaving directory '/root/kwin-5.14.5/build'
make: *** [Makefile:144: all] Error 2
IlyaBizyaev created this object in space S1 KDE Community.