Qt 6.11 is out! See what's new in the release
blog
Connect for "proxyAuthenticationRequired" requires for registration of the QNetworkProxy
General and Desktop
3
Posts
3
Posters
2.7k
Views
1
Watching
-
I need handle the signal proxyAuthenticationRequired of QNetworkAccessManager and show dialog. I wrote
@ QObject::connect(nam, SIGNAL(proxyAuthenticationRequired(QNetworkProxy,QAuthenticator*)),
mainWin, SLOT(onProxyAuthenticationRequired(QNetworkProxy, QAuthenticator*)));@where mainWin is a class for main window. But in console i see follow messages
@QObject::connect: Cannot queue arguments of type 'QNetworkProxy'
(Make sure 'QNetworkProxy' is registered using qRegisterMetaType().)@I knew about typedef and qRegisterMetaType, but I thought that QNetworkProxy should already be registered.