Qstring judgment is not an IP format

 QHostAddress _Address; // QHostAddress determined by the contents of the input format is not IP

  bool _isAddr = _Address.setAddress (dlg.textValue () trimmed ().); // timmed space is removed

Published 104 original articles · won praise 22 · views 40000 +

Guess you like

Origin blog.csdn.net/qq_41672557/article/details/103076856