我正在尝试使用qt下载文件
QNetworkAccessManager manager;
QUrl videoUrl = "https://www.animeunityserver15.cloud/DDL/Anime/SewayakiKitsuneNoSenko-san/SewayakiKitsuneNoSenko-san_Ep_01_SUB_ITA.mp4";
QNetworkReply* response = manager.get(QNetworkRequest(videoUrl));
QFile file("./video.mp4");
file.open(QIODevice::WriteOnly);
file.write(response->readAll());
file.close();
我没有收到任何错误,但文件为0kb,这意味着它尚未实际下载。 我在做什么错了?