qt networkManager get
问题 I want to download the url entered in the line edit widget. I am not able to get it working , can some one please give me a short code snippet which can put the values of the file to a QString ? void imdb::on_imdbGetButton_clicked() { Qstring link1 = ui->lineEdit2->text(); // QString link1 is the url to be downloaded. } I have added , the required header files.. Thanks.. 回答1: I guess you're trying to download a file via http . Here's what you could do: In you *.pro file add QT += network