invalid use of incomplete type 'struct QHostAddress'
forward declaration of 'struct QHostAddress'
网上有个朋友说:Such an error message in Qt usually means that you have to #include <Q...>,
#include <Q...>
,
实乃高见。