# kdesrc-build running: 'ninja' '-j' '8' # from directory: /opt/kde/build/plasma-dialer [1/112] Generating config.h, config.cpp Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [2/112] Generating ts... [3/112] Generating mo... [4/112] Automatic MOC for target contactphonenumbermapper [5/112] Building CXX object kde-telephony-daemon/contactphonenumbermapper/CMakeFiles/contactphonenumbermapper.dir/contactphonenumbermapper_autogen/mocs_compilation.cpp.o [6/112] Building CXX object kde-telephony-daemon/contactphonenumbermapper/CMakeFiles/contactphonenumbermapper.dir/contact-phone-number-mapper.cpp.o [7/112] Automatic MOC for target ktelephonymetatypes [8/112] Building CXX object kde-telephony-meta/meta-types/CMakeFiles/ktelephonymetatypes.dir/ktelephonymetatypes_autogen/mocs_compilation.cpp.o [9/112] Linking CXX static library lib/libktelephonymetatypes.a [10/112] Building CXX object kde-telephony-daemon/contactphonenumbermapper/CMakeFiles/contactphonenumbermapper.dir/phone-number-utils.cpp.o [11/112] Linking CXX static library lib/libcontactphonenumbermapper.a [12/112] Generating config.h, config.cpp Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [13/112] Automatic MOC for target plasma-dialer [14/112] Automatic RCC for resources.qrc [15/112] Building CXX object plasma-dialer/src/CMakeFiles/plasma-dialer.dir/plasma-dialer_autogen/mocs_compilation.cpp.o [16/112] Building CXX object plasma-dialer/src/CMakeFiles/plasma-dialer.dir/config.cpp.o [17/112] Building CXX object plasma-dialer/src/CMakeFiles/plasma-dialer.dir/plasma-dialer_autogen/EWIEGA46WW/qrc_resources.cpp.o [18/112] Automatic MOC for target contactmappertest [19/112] Automatic MOC for target kde-telephony-daemon [20/112] Generating deviceutilsinterface.cpp, deviceutilsinterface.h Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [21/112] Generating callutilsinterface.cpp, callutilsinterface.h Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [22/112] Generating callhistorydatabaseinterface.cpp, callhistorydatabaseinterface.h Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [23/112] Generating contactutilsadaptor.cpp, contactutilsadaptor.h Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [24/112] Generating callhistorydatabaseadaptor.cpp, callhistorydatabaseadaptor.h Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [25/112] Generating dialerutilsadaptor.cpp, dialerutilsadaptor.h Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [26/112] Generating moc_deviceutilsinterface.cpp [27/112] Generating mprisplayerinterface.cpp, mprisplayerinterface.h Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. [28/112] Generating moc_callutilsinterface.cpp [29/112] Generating moc_callhistorydatabaseinterface.cpp [30/112] Generating moc_contactutilsadaptor.cpp [31/112] Generating moc_dialerutilsadaptor.cpp [32/112] Generating moc_callhistorydatabaseadaptor.cpp [33/112] Generating moc_mprisplayerinterface.cpp [34/112] Building CXX object plasma-dialer/src/CMakeFiles/plasma-dialer.dir/main.cpp.o FAILED: plasma-dialer/src/CMakeFiles/plasma-dialer.dir/main.cpp.o ccache /usr/bin/c++ -DKCOREADDONS_LIB -DMODEM_SUBSYSTEM_MM -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_KEYWORDS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING -DQT_OPENGL_LIB -DQT_QMLBUILTINS_LIB -DQT_QMLINTEGRATION_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/opt/kde/build/plasma-dialer/plasma-dialer/src -I/opt/kde/src/plasma-dialer/plasma-dialer/src -I/opt/kde/build/plasma-dialer/plasma-dialer/src/plasma-dialer_autogen/include -I/opt/kde/build/plasma-dialer -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtQuick -isystem /usr/include/qt6/QtGui -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtQmlBuiltins -isystem /usr/include/qt6/QtNetwork -isystem /usr/include/qt6/QtQmlModels -isystem /usr/include/qt6/QtOpenGL -isystem /usr/include/qt6/QtQuickControls2 -isystem /opt/kde/usr/include/KF6/KConfig -isystem /opt/kde/usr/include/KF6/KConfigGui -isystem /opt/kde/usr/include/KF6/KConfigCore -isystem /opt/kde/usr/include/KF6/KCoreAddons -isystem /opt/kde/usr/include/KF6/KI18n -isystem /opt/kde/usr/include/KF6/KDBusAddons -isystem /usr/include/qt6/QtDBus -pipe -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 -Werror=init-self -Werror=undef -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -O2 -g -DNDEBUG -std=gnu++20 -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT plasma-dialer/src/CMakeFiles/plasma-dialer.dir/main.cpp.o -MF plasma-dialer/src/CMakeFiles/plasma-dialer.dir/main.cpp.o.d -o plasma-dialer/src/CMakeFiles/plasma-dialer.dir/main.cpp.o -c /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp: In function 'void inputCallNumber(QWindow*, const QString&)': /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:47:30: error: no matching function for call to 'QMetaObject::invokeMethod(QWindow*&, const char [5], QMetaMethodArgument)' 47 | QMetaObject::invokeMethod(window, "call", Q_ARG(QVariant, number)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt6/QtCore/qcoreevent.h:9, from /usr/include/qt6/QtCore/qcoreapplication.h:10, from /usr/include/qt6/QtGui/qguiapplication.h:8, from /usr/include/qt6/QtGui/QGuiApplication:1, from /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:6: /usr/include/qt6/QtCore/qobjectdefs.h:372:5: note: candidate: 'template static QtPrivate::Invoke::IfNotOldStyleArgs QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, QTemplatedMetaMethodReturnArgument, Args&& ...)' 372 | invokeMethod(QObject *obj, const char *member, Qt::ConnectionType c, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:372:5: note: candidate expects at least 4 arguments, 3 provided /usr/include/qt6/QtCore/qobjectdefs.h:386:5: note: candidate: 'template static QtPrivate::Invoke::IfNotOldStyleArgs QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, Args&& ...)' 386 | invokeMethod(QObject *obj, const char *member, Qt::ConnectionType c, Args &&... arguments) | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:386:5: note: template argument deduction/substitution failed: /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:47:31: note: cannot convert 'window' (type 'QWindow*') to type 'QObject*' 47 | QMetaObject::invokeMethod(window, "call", Q_ARG(QVariant, number)); | ^~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:398:5: note: candidate: 'template static QtPrivate::Invoke::IfNotOldStyleArgs QMetaObject::invokeMethod(QObject*, const char*, QTemplatedMetaMethodReturnArgument, Args&& ...)' 398 | invokeMethod(QObject *obj, const char *member, QTemplatedMetaMethodReturnArgument r, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:398:5: note: template argument deduction/substitution failed: /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:47:30: note: 'QMetaMethodArgument' is not derived from 'QTemplatedMetaMethodReturnArgument' 47 | QMetaObject::invokeMethod(window, "call", Q_ARG(QVariant, number)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:410:5: note: candidate: 'template static QtPrivate::Invoke::IfNotOldStyleArgs QMetaObject::invokeMethod(QObject*, const char*, Args&& ...)' 410 | invokeMethod(QObject *obj, const char *member, Args &&... arguments) | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:410:5: note: template argument deduction/substitution failed: /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:47:31: note: cannot convert 'window' (type 'QWindow*') to type 'QObject*' 47 | QMetaObject::invokeMethod(window, "call", Q_ARG(QVariant, number)); | ^~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:435:5: note: candidate: 'template static std::enable_if_t<((bool)(! disjunction_v, std::disjunction > >)), bool> QMetaObject::invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType*, Func&&, Qt::ConnectionType, typename QtPrivate::Callable::ReturnType*)' 435 | invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType *object, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:435:5: note: candidate expects 4 arguments, 3 provided /usr/include/qt6/QtCore/qobjectdefs.h:452:5: note: candidate: 'template static std::enable_if_t<((bool)(! disjunction_v, std::disjunction > >)), bool> QMetaObject::invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType*, Func&&, typename QtPrivate::Callable::ReturnType*)' 452 | invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType *object, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:452:5: note: template argument deduction/substitution failed: In file included from /usr/include/qt6/QtCore/qglobal.h:13, from /usr/include/qt6/QtGui/qtguiglobal.h:7, from /usr/include/qt6/QtGui/qguiapplication.h:7: /usr/include/c++/14.1.1/type_traits: In substitution of 'template using std::enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = bool]': /usr/include/qt6/QtCore/qobjectdefs.h:452:5: required by substitution of 'template static std::enable_if_t<((bool)(! disjunction_v, std::disjunction > >)), bool> QMetaObject::invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType*, Func&&, typename QtPrivate::Callable::ReturnType*) [with Func = const char (&)[5]]' /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:47:30: required from here 47 | QMetaObject::invokeMethod(window, "call", Q_ARG(QVariant, number)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.1.1/type_traits:2696:11: error: no type named 'type' in 'struct std::enable_if' 2696 | using enable_if_t = typename enable_if<_Cond, _Tp>::type; | ^~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:462:5: note: candidate: 'template static std::enable_if_t<((bool)(! disjunction_v, std::disjunction...> >)), bool> QMetaObject::invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType*, Func&&, Qt::ConnectionType, QTemplatedMetaMethodReturnArgument::ReturnType>, Args&& ...)' 462 | invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType *object, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:462:5: note: candidate expects at least 4 arguments, 3 provided /usr/include/qt6/QtCore/qobjectdefs.h:477:5: note: candidate: 'template static std::enable_if_t<((bool)(! disjunction_v, std::disjunction...> >)), bool> QMetaObject::invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType*, Func&&, Qt::ConnectionType, Args&& ...)' 477 | invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType *object, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:477:5: note: template argument deduction/substitution failed: /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:47:47: note: cannot convert 'QtPrivate::Invoke::argument(((const char*)"QVariant"), QVariant((* & number)))' (type 'QMetaMethodArgument') to type 'Qt::ConnectionType' 47 | QMetaObject::invokeMethod(window, "call", Q_ARG(QVariant, number)); | ^~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:491:5: note: candidate: 'template static std::enable_if_t<((bool)(! disjunction_v, std::disjunction...> >)), bool> QMetaObject::invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType*, Func&&, QTemplatedMetaMethodReturnArgument::ReturnType>, Args&& ...)' 491 | invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType *object, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:491:5: note: template argument deduction/substitution failed: /usr/include/qt6/QtCore/qobjectdefs.h:506:5: note: candidate: 'template static std::enable_if_t<((bool)(! disjunction_v, std::disjunction...> >)), bool> QMetaObject::invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType*, Func&&, Args&& ...)' 506 | invokeMethod(typename QtPrivate::ContextTypeForFunctor::ContextType *object, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:506:5: note: template argument deduction/substitution failed: /usr/include/qt6/QtCore/qobjectdefs.h:301:17: note: candidate: 'static bool QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)' 301 | static bool invokeMethod(QObject *obj, const char *member, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:301:17: note: candidate expects 14 arguments, 3 provided /usr/include/qt6/QtCore/qobjectdefs.h:315:24: note: candidate: 'static bool QMetaObject::invokeMethod(QObject*, const char*, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)' 315 | static inline bool invokeMethod(QObject *obj, const char *member, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:315:46: note: no known conversion for argument 1 from 'QWindow*' to 'QObject*' 315 | static inline bool invokeMethod(QObject *obj, const char *member, | ~~~~~~~~~^~~ /usr/include/qt6/QtCore/qobjectdefs.h:332:24: note: candidate: 'static bool QMetaObject::invokeMethod(QObject*, const char*, Qt::ConnectionType, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)' 332 | static inline bool invokeMethod(QObject *obj, const char *member, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:332:24: note: candidate expects 13 arguments, 3 provided /usr/include/qt6/QtCore/qobjectdefs.h:349:24: note: candidate: 'static bool QMetaObject::invokeMethod(QObject*, const char*, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)' 349 | static inline bool invokeMethod(QObject *obj, const char *member, | ^~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:349:46: note: no known conversion for argument 1 from 'QWindow*' to 'QObject*' 349 | static inline bool invokeMethod(QObject *obj, const char *member, | ~~~~~~~~~^~~ /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp: In function 'void allowAboveLockscreen(QWindow*)': /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:97:43: warning: unused parameter 'window' [-Wunused-parameter] 97 | static void allowAboveLockscreen(QWindow *window) | ~~~~~~~~~^~~~~~ /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp: In function 'void raiseWindow(QWindow*)': /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:132:11: error: invalid use of incomplete type 'class QWindow' 132 | window->raise(); | ^~ In file included from /usr/include/qt6/QtGui/qguiapplication.h:9: /usr/include/qt6/QtGui/qwindowdefs.h:19:7: note: forward declaration of 'class QWindow' 19 | class QWindow; | ^~~~~~~ /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp: In function 'int main(int, char**)': /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:199:21: error: no matching function for call to 'QObject::connect(KDBusService*, void (KDBusService::*)(const QStringList&, const QString&), QWindow*&, main(int, char**)::)' 199 | QObject::connect(&service, &KDBusService::activateRequested, window, [&window](const QStringList &arguments) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | for (const auto &arg : arguments) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | QString numberArg = parseTelArgument(arg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | if (!numberArg.isEmpty()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 203 | inputCallNumber(window, numberArg); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 204 | break; | ~~~~~~ 205 | } | ~ 206 | } | ~ 207 | raiseWindow(window); | ~~~~~~~~~~~~~~~~~~~~ 208 | }); | ~~ In file included from /usr/include/qt6/QtCore/qeventloop.h:7, from /usr/include/qt6/QtCore/qcoreapplication.h:12: /usr/include/qt6/QtCore/qobject.h:221:9: note: candidate: 'static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, const typename QtPrivate::ContextTypeForFunctor::ContextType*, Func2&&, Qt::ConnectionType) [with Func1 = void (KDBusService::*)(const QList&, const QString&); Func2 = main(int, char**)::; typename QtPrivate::FunctionPointer::Object = KDBusService; typename QtPrivate::ContextTypeForFunctor::ContextType = QObject]' 221 | connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, | ^~~~~~~ /usr/include/qt6/QtCore/qobject.h:222:86: note: no known conversion for argument 3 from 'QWindow*' to 'const QtPrivate::ContextTypeForFunctor, void>::ContextType*' {aka 'const QObject*'} 222 | const typename QtPrivate::ContextTypeForFunctor::ContextType *context, Func2 &&slot, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/include/qt6/QtCore/qobject.h:270:9: note: candidate: 'template static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object*, Func1, Func2&&)' 270 | connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, Func2 &&slot) | ^~~~~~~ /usr/include/qt6/QtCore/qobject.h:270:9: note: candidate expects 3 arguments, 4 provided /usr/include/qt6/QtCore/qobject.h:200:36: note: candidate: 'static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)' 200 | static QMetaObject::Connection connect(const QObject *sender, const char *signal, | ^~~~~~~ /usr/include/qt6/QtCore/qobject.h:200:79: note: no known conversion for argument 2 from 'void (KDBusService::*)(const QStringList&, const QString&)' {aka 'void (KDBusService::*)(const QList&, const QString&)'} to 'const char*' 200 | static QMetaObject::Connection connect(const QObject *sender, const char *signal, | ~~~~~~~~~~~~^~~~~~ /usr/include/qt6/QtCore/qobject.h:203:36: note: candidate: 'static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)' 203 | static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, | ^~~~~~~ /usr/include/qt6/QtCore/qobject.h:203:86: note: no known conversion for argument 2 from 'void (KDBusService::*)(const QStringList&, const QString&)' {aka 'void (KDBusService::*)(const QList&, const QString&)'} to 'const QMetaMethod&' 203 | static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, | ~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/qt6/QtCore/qobject.h:396:32: note: candidate: 'QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const' 396 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, | ^~~~~~~ /usr/include/qt6/QtCore/qobject.h:396:85: note: no known conversion for argument 2 from 'void (KDBusService::*)(const QStringList&, const QString&)' {aka 'void (KDBusService::*)(const QList&, const QString&)'} to 'const char*' 396 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, | ~~~~~~~~~~~~^~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h: In instantiation of 'struct QtPrivate::HasQ_OBJECT_Macro': /usr/include/qt6/QtCore/qobject.h:417:58: required from 'T qobject_cast(QObject*) [with T = QWindow*]' 417 | static_assert(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~ /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:193:46: required from here 193 | QWindow *window = qobject_cast(engine.rootObjects().at(0)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qobjectdefs.h:684:37: error: incomplete type 'QWindow' used in nested name specifier 684 | enum { Value = sizeof(test(&Object::qt_metacall)) == sizeof(int) }; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qobject.h: In instantiation of 'T qobject_cast(QObject*) [with T = QWindow*]': /opt/kde/src/plasma-dialer/plasma-dialer/src/main.cpp:193:46: required from here 193 | QWindow *window = qobject_cast(engine.rootObjects().at(0)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt6/QtCore/qobject.h:417:58: error: static assertion failed: qobject_cast requires the type to have a Q_OBJECT macro 417 | static_assert(QtPrivate::HasQ_OBJECT_Macro::Value, | ^~~~~ /usr/include/qt6/QtCore/qobject.h:417:58: note: 'QtPrivate::HasQ_OBJECT_Macro::Value' evaluates to false /usr/include/qt6/QtCore/qobject.h:419:53: error: incomplete type 'ObjType' {aka 'QWindow'} used in nested name specifier 419 | return static_cast(ObjType::staticMetaObject.cast(object)); | ~~~~~~~~~~~~~~~~~^~~~ [35/112] Automatic MOC for target modem-daemon [36/112] Automatic MOC for target KTelephonyPluginDeclarative [37/112] Building CXX object kde-telephony-daemon/autotests/CMakeFiles/contactmappertest.dir/contactmappertest_autogen/mocs_compilation.cpp.o [38/112] Building CXX object kde-telephony-daemon/autotests/CMakeFiles/contactmappertest.dir/fake-contact-source.cpp.o [39/112] Building CXX object kde-telephony-daemon/autotests/CMakeFiles/contactmappertest.dir/contact-mapper-test.cpp.o [40/112] Building CXX object kde-telephony-daemon/src/CMakeFiles/kde-telephony-daemon.dir/main.cpp.o [41/112] Building CXX object kde-telephony-daemon/src/CMakeFiles/kde-telephony-daemon.dir/kde-telephony-daemon_autogen/mocs_compilation.cpp.o ninja: build stopped: subcommand failed.