Instead of writing me a private message with the needed source code you would better have posted it here in the right place. We all are glad to help, but we hate questions via private messages!
{
manager = new QNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply*)), app, SLOT(issue(QNetworkReply*)));
}
void qt::issue(QNetworkReply *networkReply)
{
//...
}
qt::qt(QCoreApplication* app)
{
manager = new QNetworkAccessManager(this);
connect(manager, SIGNAL(finished(QNetworkReply*)), app, SLOT(issue(QNetworkReply*)));
}
void qt::issue(QNetworkReply *networkReply)
{
//...
}
To copy to clipboard, switch view to plain text mode
not your application has the slot, but you own class, so use this instead of app in you connect statement.
Bookmarks