@BastienSante said in QTextBrowser link opens Notepad on Windows ???:
Here is the method I wrote to handle clicking links :
Unfortunately, based on the problem statement, this is code that isn't executed. That doesn't help clarify what is executed.
My browser widget has setOpenExternalLinks(true). Moreover, Notepad is not set as the default application for Markdown, but manages to "steal" the file opening from my app ?
What could be happening here ? Thanks for your answers !
QTextBrowser::openExternalLinks:
Specifies whether QTextBrowser should automatically open links to external sources using QDesktopServices::openUrl() instead of emitting the anchorClicked signal. Links are considered external if their scheme is neither file or qrc.
Did you intend to set openExternalLinks to false?