1、读取http的请求数据
QByteArray array;
array.append(reply->readAll());
QApplication app(argc, argv);TestMainWindow test;test.show();
//Dialog dlg;HttpWindow httpWin;httpWin.testDownloadFile();
QObject::connect( &httpWin, SIGNAL(setPic(QPixmap)), &test, SLOT(setPic(QPixmap)));
2、Socket 访问网站数据,不通过IE控件
用qHttpRequest