#include <QtNetwork/qhostaddress.h> #ifndef QHOSTADDRESS_H typedef class QIPv6Address Q_IPV6ADDR; #endif // QHOSTADDRESS_H