Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Issue with New Signal/Slot mechanism In mingw (Qt5.2)
alizadeh91 last edited by
I have downloaded Qt5.2 mingw32 with opengl support. When i compile my project with this new version i get following error:
error: no matching function for call to
mainwindow::connect(dialog*&, void (Dialog::*)(bool),dialog::on_btnExport_clicked()::__lambda0)
Here is where i have defined my signal/slot connection:
// do something
// do something else!
This code was working fine with "Qt5.1 msvc 2010 opengl".
How can i solve this issue?
What is the signal signature?
Have you enabled c++11 support in your project (CONFIG += c++11)? MSVC doesn't support language version selection but MinGW does and is set to C++03 by default.