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:
connect(dialog, &Dialog::progressChanged,
[=](bool started)
{
if (started)
{
// do something
}
else
{
// do something else!
}
});
This code was working fine with “Qt5.1 msvc 2010 opengl”.
How can i solve this issue?
↧