I’m using the QWebView element in a PyQt application and mailto
links do not seem to work. When I click on them nothing happens and
the default mail client does not open.
Pointers on fixing this problem will be very much appreciated.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
try this
you could do open mail client in self._link_clicked
see also
http://doc.qt.io/qt-4.8/qwebview.html#signals
BTW, PySide is better than PyQt, the former is more Pythonic.