Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.10
-
None
Description
When building with manual tests enabled:
FAILED: qtremoteobjects/tests/manual/examples/ble/bleclient/CMakeFiles/tst_bleclient.dir/connectpage.cpp.o /usr/bin/ccache /usr/bin/clang++-19 -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_REMOTEOBJECTS_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_TESTCASE_BUILDDIR=\"/home/moheim/qt/build-clangd-compile-commands/qtremoteobjects/tests/manual/examples/ble/bleclient\" -DQT_TESTCASE_SOURCEDIR=\"/home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleclient\" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/moheim/qt/build-clangd-compile-commands/qtremoteobjects/tests/manual/examples/ble/bleclient -I/home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleclient -I/home/moheim/qt/build-clangd-compile-commands/qtremoteobjects/tests/manual/examples/ble/bleclient/tst_bleclient_autogen/include -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include -I/home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleclient/../common -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtCore -I/home/moheim/qt/qt6/qtbase/mkspecs/linux-clang -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtWidgets -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtGui -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtBluetooth -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtNetwork -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtDBus -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtRemoteObjects -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtTest -g -std=gnu++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fPIC -fcf-protection=full -ftrivial-auto-var-init=pattern -fstack-protector-strong -fexceptions -MD -MT qtremoteobjects/tests/manual/examples/ble/bleclient/CMakeFiles/tst_bleclient.dir/connectpage.cpp.o -MF qtremoteobjects/tests/manual/examples/ble/bleclient/CMakeFiles/tst_bleclient.dir/connectpage.cpp.o.d -o qtremoteobjects/tests/manual/examples/ble/bleclient/CMakeFiles/tst_bleclient.dir/connectpage.cpp.o -c /home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleclient/connectpage.cpp /home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleclient/connectpage.cpp:205:14: error: no matching member function for call to 'connect' 205 | QObject::connect(m_service, &QLowEnergyService::errorOccurred, [this] | ~~~~~~~~~^~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:405:41: note: candidate function not viable: no known conversion from 'void (QLowEnergyService::*)(QLowEnergyService::ServiceError)' to 'const char *' for 2nd argument 405 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, | ^ ~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:209:36: note: candidate function not viable: requires at least 4 arguments, but 3 were provided 209 | static QMetaObject::Connection connect(const QObject *sender, const char *signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | const QObject *receiver, const char *member, Qt::ConnectionType = Qt::AutoConnection); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:212:36: note: candidate function not viable: requires at least 4 arguments, but 3 were provided 212 | static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | const QObject *receiver, const QMetaMethod &method, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | Qt::ConnectionType type = Qt::AutoConnection); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:230:9: note: candidate function template not viable: requires at least 4 arguments, but 3 were provided 230 | connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | Qt::ConnectionType type = Qt::AutoConnection) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. [6/17] Building CXX object qtremoteobjects/tests/manual/examples/ble/bleserver/CMakeFiles/tst_bleserver.dir/main.cpp.o FAILED: qtremoteobjects/tests/manual/examples/ble/bleserver/CMakeFiles/tst_bleserver.dir/main.cpp.o /usr/bin/ccache /usr/bin/clang++-19 -DQT_BLUETOOTH_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_REMOTEOBJECTS_LIB -DQT_STRICT_QLIST_ITERATORS -DQT_TESTCASE_BUILDDIR=\"/home/moheim/qt/build-clangd-compile-commands/qtremoteobjects/tests/manual/examples/ble/bleserver\" -DQT_TESTCASE_SOURCEDIR=\"/home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleserver\" -DQT_TESTLIB_LIB -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/moheim/qt/build-clangd-compile-commands/qtremoteobjects/tests/manual/examples/ble/bleserver -I/home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleserver -I/home/moheim/qt/build-clangd-compile-commands/qtremoteobjects/tests/manual/examples/ble/bleserver/tst_bleserver_autogen/include -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include -I/home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleserver/../common -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtCore -I/home/moheim/qt/qt6/qtbase/mkspecs/linux-clang -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtGui -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtBluetooth -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtNetwork -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtDBus -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtRemoteObjects -I/home/moheim/qt/build-clangd-compile-commands/qtbase/include/QtTest -g -std=gnu++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fPIC -fcf-protection=full -ftrivial-auto-var-init=pattern -fstack-protector-strong -fexceptions -MD -MT qtremoteobjects/tests/manual/examples/ble/bleserver/CMakeFiles/tst_bleserver.dir/main.cpp.o -MF qtremoteobjects/tests/manual/examples/ble/bleserver/CMakeFiles/tst_bleserver.dir/main.cpp.o.d -o qtremoteobjects/tests/manual/examples/ble/bleserver/CMakeFiles/tst_bleserver.dir/main.cpp.o -c /home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleserver/main.cpp /home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleserver/main.cpp:113:5: error: no matching function for call to 'connect' 113 | QObject::connect(bleController.get(), &QLowEnergyController::disconnected, [&]() { | ^~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:405:41: note: candidate function not viable: no known conversion from 'void (QLowEnergyController::*)()' to 'const char *' for 2nd argument 405 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, | ^ ~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:209:36: note: candidate function not viable: requires at least 4 arguments, but 3 were provided 209 | static QMetaObject::Connection connect(const QObject *sender, const char *signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | const QObject *receiver, const char *member, Qt::ConnectionType = Qt::AutoConnection); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:212:36: note: candidate function not viable: requires at least 4 arguments, but 3 were provided 212 | static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | const QObject *receiver, const QMetaMethod &method, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | Qt::ConnectionType type = Qt::AutoConnection); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:230:9: note: candidate function template not viable: requires at least 4 arguments, but 3 were provided 230 | connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | Qt::ConnectionType type = Qt::AutoConnection) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtremoteobjects/tests/manual/examples/ble/bleserver/main.cpp:143:5: error: no matching function for call to 'connect' 143 | QObject::connect(bleController.get(), &QLowEnergyController::connected, [&]() { | ^~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:405:41: note: candidate function not viable: no known conversion from 'void (QLowEnergyController::*)()' to 'const char *' for 2nd argument 405 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, | ^ ~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:209:36: note: candidate function not viable: requires at least 4 arguments, but 3 were provided 209 | static QMetaObject::Connection connect(const QObject *sender, const char *signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 210 | const QObject *receiver, const char *member, Qt::ConnectionType = Qt::AutoConnection); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:212:36: note: candidate function not viable: requires at least 4 arguments, but 3 were provided 212 | static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 213 | const QObject *receiver, const QMetaMethod &method, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 214 | Qt::ConnectionType type = Qt::AutoConnection); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/moheim/qt/qt6/qtbase/src/corelib/kernel/qobject.h:230:9: note: candidate function template not viable: requires at least 4 arguments, but 3 were provided 230 | connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | const typename QtPrivate::ContextTypeForFunctor<Func2>::ContextType *context, Func2 &&slot, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | Qt::ConnectionType type = Qt::AutoConnection) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated.