Qt Signals and Slots on Windows 10

Hi there.
I've had some problem to connect signals and slots in Qt5.10 and Windows 10.
This aproach doesn't work on Windows 10:

connect(worker, &CJsonWorker::onAuthenticateFinished, this, &LoginWindow::onAuthenticateFinished)

But when i use classic aproach, when i specify SIGNAL and SLOT - it works!

// it works
connect (worker, SIGNAL(onAuthenticateFinished(QNetworkReply*)),
                           this, SLOT(onAuthenticateFinished(QNetworkReply*)));
Sign In or Register to comment.