I want to set the text of a label so the user can click on it and open the directory it links to.
self.labFolder.setText("<a href={}>Folder:</a>".format(r'C:\Users\bob\Desktop'))
The above displays a blue underlined label and the cursor changes to the hand as expected, but onclick does not result in the opening of the directory.
How should I achieve this?