https://bugs.kde.org/show_bug.cgi?id=499500
Bug ID: 499500 Summary: Build failed with : restorationtool.cpp:162:12: error: no matching function for call to ‘DigikamEditorRestorationToolPlugin Classification: Applications Product: digikam Version: 8.6.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: digikam-bugs-n...@kde.org Reporter: kikouca...@gmail.com Target Milestone: --- [ 69%] Building CXX object core/dplugins/editor/enhance/restoration/CMakeFiles/Editor_RestorationTool_Plugin.dir/restorationtool.cpp.o /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/dplugins/editor/enhance/restoration/restorationtool.cpp: In constructor ‘DigikamEditorRestorationToolPlugin::RestorationTool::RestorationTool(QObject*)’: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/dplugins/editor/enhance/restoration/restorationtool.cpp:162:12: error: no matching function for call to ‘DigikamEditorRestorationToolPlugin::RestorationTool::connect(QComboBox*&, <unresolved overloaded function type>, DigikamEditorRestorationToolPlugin::RestorationTool*, void (DigikamEditorRestorationToolPlugin::RestorationTool::*)(int))’ 162 | connect(d->restorationTypeCB, &QComboBox::activated, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | this, &RestorationTool::slotResetValues); // cppcheck-suppress virtualCallInConstructor | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/utilities/imageeditor/editor/editortool.h:19, from /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/dplugins/editor/enhance/restoration/restorationtool.h:20, from /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/dplugins/editor/enhance/restoration/restorationtool.cpp:16: /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: candidate: ‘template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const typename QtPrivate::FunctionPointer<Func2>::Object*, Func2, Qt::ConnectionType)’ 242 | static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:242:43: note: template argument deduction/substitution failed: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/dplugins/editor/enhance/restoration/restorationtool.cpp:162:12: note: couldn’t deduce template parameter ‘Func1’ 162 | connect(d->restorationTypeCB, &QComboBox::activated, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | this, &RestorationTool::slotResetValues); // cppcheck-suppress virtualCallInConstructor | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate: ‘template<class Func1, class Func2> static typename std::enable_if<((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’ 274 | connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot) | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:274:13: note: candidate expects 3 arguments, 4 provided /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: candidate: ‘template<class Func1, class Func2> static typename std::enable_if<(((int)(QtPrivate::FunctionPointer<Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<Func2>::IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)’ 283 | connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot, | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:283:13: note: template argument deduction/substitution failed: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/dplugins/editor/enhance/restoration/restorationtool.cpp:162:12: note: couldn’t deduce template parameter ‘Func1’ 162 | connect(d->restorationTypeCB, &QComboBox::activated, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | this, &RestorationTool::slotResetValues); // cppcheck-suppress virtualCallInConstructor | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate: ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::FunctionPointer<Func2>::ArgumentCount == -1), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<Func>::Object*, Func1, Func2)’ 314 | connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, Func2 slot) | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:314:13: note: candidate expects 3 arguments, 4 provided /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: candidate: ‘template<class Func1, class Func2> 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)’ 322 | connect(const typename QtPrivate::FunctionPointer<Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot, | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:322:13: note: template argument deduction/substitution failed: /mnt/2c98cfab-4320-4ff2-b8d7-f2da522cc741/digikam-devel/dk-2025-02-03/digikam/core/dplugins/editor/enhance/restoration/restorationtool.cpp:162:12: note: couldn’t deduce template parameter ‘Func1’ 162 | connect(d->restorationTypeCB, &QComboBox::activated, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 163 | this, &RestorationTool::slotResetValues); // cppcheck-suppress virtualCallInConstructor | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:36: note: candidate: ‘static QMetaObject::Connection QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)’ 222 | static QMetaObject::Connection connect(const QObject *sender, const char *signal, | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:222:79: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’ 222 | static QMetaObject::Connection connect(const QObject *sender, const char *signal, | ~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:36: note: candidate: ‘static QMetaObject::Connection QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType)’ 225 | static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:225:86: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const QMetaMethod&’ 225 | static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal, | ~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:32: note: candidate: ‘QMetaObject::Connection QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const’ 481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, | ^~~~~~~ /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:481:85: note: no known conversion for argument 2 from ‘<unresolved overloaded function type>’ to ‘const char*’ 481 | inline QMetaObject::Connection QObject::connect(const QObject *asender, const char *asignal, | ~~~~~~~~~~~~^~~~~~~ make[2]: *** [core/dplugins/editor/enhance/restoration/CMakeFiles/Editor_RestorationTool_Plugin.dir/build.make:110 : core/dplugins/editor/enhance/restoration/CMakeFiles/Editor_RestorationTool_Plugin.dir/restorationtool.cpp.o] Erreur 1 make[1]: *** [CMakeFiles/Makefile2:21952 : core/dplugins/editor/enhance/restoration/CMakeFiles/Editor_RestorationTool_Plugin.dir/all] Erreur 2 make: *** [Makefile:146 : all] Erreur 2 System: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble Machine: ThinkStation S30 CPU : 8-core model: Intel Xeon E5-2690 0 bits Graphics: Device-1: NVIDIA GM204GL [Quadro M4000] Environnement de développement de KDE Version 5.115.0 Qt Version 5.15.13 (Compilé avec 5.15.13) ADDITIONAL INFORMATION : last working build : https://invent.kde.org/graphics/digikam/commit/8cb37df9654046f206eccf2680efebc1aff3a279 -- You are receiving this mail because: You are watching all bug changes.