I guess QUrl’s parser considers "(512) 480-8181" to be the host (and it’s obviously invalid).
In contrast, it seems that the GURL we get has an empty host, but its path is "//(512) 480-8181".
Either QUrl is too strict, or GURL is more tolerant with ill-formed URLs. Either way, the conversion blows up. We could probably have some logic to try and convert the GURL to a QUrl by pieces if the constructor returns an invalid one.
I guess QUrl’s parser considers "(512) 480-8181" to be the host (and it’s obviously invalid).
In contrast, it seems that the GURL we get has an empty host, but its path is "//(512) 480-8181".
Either QUrl is too strict, or GURL is more tolerant with ill-formed URLs. Either way, the conversion blows up. We could probably have some logic to try and convert the GURL to a QUrl by pieces if the constructor returns an invalid one.