Question: I'm trying to do a simple GET request using QNetworkReply but finished() never get's called, here is my code

```
QtTest::QtTest(QWidget *parent):QWidget(parent){
  ui.setupUi(this);

  auto network_access_manager = new QNetworkAccessManager(this);
  auto reply = network_access_manager->get(QNetworkRequest(QUrl("http://www.whatsmyip.org/")));
  connect(reply, SIGNAL(finished()), this, SLOT(download_finished()));

qDebug() << "Started";

}

void QtTest::download_finished() {

  qDebug() << "Finished";

}

```

If I check output on startup I get

```
QObject::connect: Cannot connect (null)::aboutToQuit() to QNativeWifiEngine::closeHandle()

Exception thrown at 0x749040F8 (KernelBase.dll) in QtTest.exe: 0x000006A6: The binding handle is invalid.

```

Answer: 
Verify if you are declaring download\_finished() as a slot.

```
class QtTest : public QObject
{
    Q_OBJECT
public:
    QtTest(QObject *parent = 0);

private slots:
    void download_finished();
};

```
change your definition of download\_finished to include the reply;

The signal is; finished(QNetworkReply \*reply) so

```
  QtTest::download_finished(QNetworkReply *reply)
  {
     .... etc

```

Make sure to include the parameter in the connect statement.