Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get domain from a QUrl object
silicomancer last edited by
Seemed an easy task... but I could not find a way to get the domain part of a URL.
Lets say my URL ist "http://www.example.com/dir/index.html". I can easily get e.g. the TLD part (".com") and I can get the host ("www.example.com"). However I need to find out which domain is used ("example.com").
Did I overlook something or am I right that QUrl can not provide this?