QtHelp: Fix the build without cssparser
QTextDocument::setDefaultStyleSheet() is only available with the
cssparser feature and QTextEdit::setHtml() only with the texthtmlparser
feature. Guard their calls in QResultWidget; without the html parser,
the results page is shown as plain text.
Fixes: QTBUG-136340
Pick-to: 6.12 6.8
Change-Id: Ib8a8baf29046eb4675ff78e1758106b3e6f946dd
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
| commit | 3c8fc291a8dbd3e794ce753c6b0f126481234ce2 |
| parent | 3a82116d94569a1e6c06cedbcc13bcfa2ae94747 |
| author | Jarek Kobus <jaroslaw.kobus@qt.io> |
| committer | Jarek Kobus <jaroslaw.kobus@qt.io> |
| commit time | Fri, 25 Sep 2026 06:29:29 +0000 |