Below is the wrong information, always shows I can't call QMetaObject: : invokeMethod, Qt version is 5.12.4 environment is ubuntu18.04
/home/peng/Desktop/Cheetah - Software - master/sim/SRC/SimControlPanel CPP: In a lambda function:
/home/peng/Desktop/Cheetah - Software - master/sim/SRC/SimControlPanel CPP: 408:12: error: no matching function for the call to 'QMetaObject: : invokeMethod (SimControlPanel *, SimControlPanel: : on_startButton_clicked () : : & lt; Lambda () & gt; : : & lt; Lambda (STD: : __cxx11: : string) & gt; : : & lt; Lambda () & gt;) '
});
^
In the file included the from/usr/include/x86_64 - - the gnu/Linux qt5/QtGui qwindowdefs. H: 44:0,
The from/usr/include/x86_64 - - the gnu/Linux qt5/QtWidgets qwidget. H: 44,
The from/usr/include/x86_64 - - the gnu/Linux qt5/QtWidgets qmainwindow. H: 44,
The from/usr/include/x86_64 - - the gnu/Linux qt5/QtWidgets/QMainWindow: 1,
The from/home/peng/Desktop/Cheetah - Software - master/sim/include/SimControlPanel. H: 9,
The from/home/peng/Desktop/Cheetah - Software - master/sim/SRC/SimControlPanel CPP: 1:
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 406:17: note: candidate: static bool QMetaObject: : invokeMethod (QObject *, const char *, Qt: : ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
The static bool invokeMethod (QObject * obj, const char * member,
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 406:17: note: candidate expects the arguments of 14, 2 provided
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 420:24: note: candidate: static bool QMetaObject: : invokeMethod (QObject *, const char *, QGenericReturnArgument QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
The static inline bool invokeMethod (QObject * obj, const char * member,
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 420:24: note: candidate expects the arguments, 2 provided
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 437:24: note: candidate: static bool QMetaObject: : invokeMethod (QObject *, const char *, Qt: : ConnectionType, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
The static inline bool invokeMethod (QObject * obj, const char * member,
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 437:24: note: candidate expects the arguments, 2 provided
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 454:24: note: candidate: static bool QMetaObject: : invokeMethod (QObject *, const char *, QGenericArgument QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
The static inline bool invokeMethod (QObject * obj, const char * member,
^ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
The/usr/include/x86_64 - - the gnu/Linux qt5/QtCore qobjectdefs. H: 454:24: note: no known conversion for argument from 2 'SimControlPanel: : on_startButton_clicked () : : & lt; Lambda () & gt; : : & lt; Lambda (STD: : __cxx11: : string) & gt; : : & lt; Lambda () & gt; 'to' const char * '
Sim/CMakeFiles/sim. Dir/build. The make: 246: a recipe for target 'sim/CMakeFiles/sim. Dir/SRC/SimControlPanel CPP. O' failed
Make [2], [* * * sim/CMakeFiles/sim. Dir/SRC/SimControlPanel CPP. O] Error 1
CMakeFiles/Makefile2:2583: the recipe for target 'sim/CMakeFiles/sim. Dir/all' failed
Make [1], [* * * sim/CMakeFiles/sim. Dir/all] Error 2
The Makefile: 129: the recipe for target 'all' failed
Make: * * * [all] Error 2
Running is MIT robot simulator, here had tried to compile completed, before qt5.10.0 also uninstall reshipment,