演示如何查找主機名使用 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 來剖析命令行自變量。
範例工程 @ code.qt.io