Getting Pixmap is a null pixmap on calling a function 500 times
问题 I am showing a image in qt label. Below is my code: void MyClass::onPushButtonClicked(QString myurl) { this->setCursor(Qt::WaitCursor); ui.qtImageLabel->clear(); qDebug()<<QTime::currentTime()<<"MyClass: onPushButtonClicked"; QNetworkAccessManager *qnam_push_button_clicked_show_image; QNetworkReply *reply; QNetworkRequest request; request.setHeader( QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded" ); QUrl url(myurl); request.setUrl(url); qnam_push_button_clicked_show