private slots:void slotFinished(QNetworkReply* reply){ QFile file("test.zip"); if (!file.open(QIODevice::WriteOnly) { qDebug() << "error, file no Open"; return; } file.write(reply->readAll()); file.close(); qDebug() << "Download complete.";}