manekineko
12th November 2009, 18:31
I'm working on a cross platform email application written in QT, and I'd like it to properly catch and handle mailto:// links clicked on by the user. What's the best way to register a QT application to handle a URL scheme?
The only way I've found from a Google search seems to be this page:
http://burnttoys.blogspot.com/2008/07/adding-url-scheme-to-qt-application.html
It describes a series of complicated hack that require using a 3rd party installer to install a URL scheme in Windows and Mac, but is this really the only way? Also, what would I have to do to make this work on Linux as well?
The only way I've found from a Google search seems to be this page:
http://burnttoys.blogspot.com/2008/07/adding-url-scheme-to-qt-application.html
It describes a series of complicated hack that require using a 3rd party installer to install a URL scheme in Windows and Mac, but is this really the only way? Also, what would I have to do to make this work on Linux as well?