Details
-
Suggestion
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.7.0 RC
-
None
-
win7 x64, qt-opensource-windows-x86-mingw530-5.7.0-rc.exe.
Description
This syntax:
QObject::connect(quit, &Sender:clicked, this, &Receiver::close)
will fail when called connect in a dll, it report "QObject::connect: signal not found in...",
so when i connect to a lambda use the new Qt5 signals/slots syntax in dll will failed.
But when called in exe, it is ok.
The old syntax:
QObject::connect(quit, SIGNAL(clicked()), this, SLOT(close()));
works alwasy fine.
So I hope you can let us call by the syntax:
QObject::connect(quit, SIGNAL(clicked()), this, &Receiver::close);
Then I can use lambda in dll.
Thanks!