Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112023

QTextDocument::setHtml hangs up with provided html

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.3
    • GUI: Text handling
    • None
    • Windows

    Description

      QTextDocument::setHtml hangs up with provided test.html test.html, with this code:

      int main(int argc, char *argv[])
      {
          QGuiApplication a(argc, argv);
          QTextDocument doc;    QFile file("test.html");
          file.open(QIODevice::ReadOnly);    QByteArray data = file.readAll();
          file.close();    
          doc.setHtml(data);    //here takes forever
          return a.exec();
      } 

      Attachments

        1. test.html
          1.44 MB
          Riccardo Tani

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            ricta Riccardo Tani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: