Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Not Evaluated
-
Resolution: Invalid
-
Affects Version/s: 6.2.2
-
Fix Version/s: None
-
Component/s: Widgets: Widgets and Dialogs
-
Labels:None
-
Environment:Windows x64 VS 2019
-
Platform/s:
Description
QTextBrowser fails to open links and clears the text when the link is selected.
QTextBrowser *searchHelp = new QTextBrowser; QString systemInfo; QTextStream str(&systemInfo); str << "<p>Search file names for specific text. <a href=\"https://perldoc.perl.org/perlre#DESCRIPTION\">Regular Expressions</a> are " "supported. </p>"; searchHelp->setOpenLinks(true); searchHelp->setHtml(systemInfo); searchHelp->show();
Example code is attached.