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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes