Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.4.3
-
None
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(); }