DNS 查找

Demonstrates how to lookup a host name using QDnsLookup .

此范例使用 QDnsLookup to demonstrate how to look up a host name and print the results on the command line. As well as how you can use QCommandLineParser to parse command line arguments.

{To perform a lookup, specify a host name and a type, then invoke the Q Dns Lookup lookup slot.}

范例工程 @ code.qt.io