Problem with new connect syntax
General and Desktop
3
Posts
3
Posters
2.2k
Views
1
Watching
-
Hello,
Here is the new syntax :
@ QObject::connect(m_actionAbout, &QAction::triggered,
qApp, &QApplication::aboutQt);@But dsnt work :/
@FenPrincipale.cpp:69: erreur : C2664: 'QMetaObject::Connection QObject::connect(const QObject *,const char *,const QObject *,const char ,Qt::ConnectionType)' : cannot convert parameter 2 from 'void (__thiscall QAction:: )(bool)' to 'const char *'
There is no context in which this conversion is possible@Can you help ? thanks