Hello. I was use this code on qt 5.3.1 32 BIT
But Now i have 5.3.2 64 BIT
Qt Code:
  1. std::string html = std::move(output.buffer); // html from curl - all ok
  2. QWebPage * tmp_webpage = new QWebPage();
  3. tmp_webpage->mainFrame()->setHtml(QString::fromStdString(html));
  4. std::fstream test_stream;
  5. test_stream.open("example14.html", std::ios::out | std::ios::in);
  6. test_stream << tmp_webpage->mainFrame()->toHtml().toStdString(); // html was cut in about 50%
  7. test_stream.close();
  8.  
  9. QWebFrame * tmp_frame = tmp_webpage->mainFrame();
  10. QWebElement mainTable_site = tmp_frame->findFirstElement(QString::fromStdString(mainTable_selector)); // not found because qt cut my correct html
To copy to clipboard, switch view to plain text mode 

IF it is necessarry i can share my HTML (but trust me - it is all okey) After update QT to 64 bit and 5.3.2 version sth going wrong.

Best regards