PDA

View Full Version : List of QDesktopServices(QUrl( < stuff> )



sedi
22nd August 2017, 17:38
Hi,
I can start a phone call on android with the code below, but I've also seen different advice ("callto://+49800xxxxxxx") that doesn't work for me.

QDesktopServices::openUrl(QUrl("tel:+49800xxxxxxx", QUrl::TolerantMode));


I can also start an email with

QDesktopServices::openUrl(QUrl("mailto:"+myAddress+"?subject="+mySubject+"&body="+myText, QUrl::TolerantMode));

Do you know more possible use cases?

I've failed to find a comprehensive list of possibilities for this, neither here, nor on Google, nor in the docs. Any suggestion where to read further would be gratefully appreciated!

sedi
23rd August 2017, 13:30
Seems I have found something at last. I'll post it here for others.
https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
So, after all, it has not actually been a Qt-question. Sorry.