[SOLVED] QHostinfo: no such file or directory

  • i am trying to use QHostinfo to get the ip and domain of the host, but when i try to include QHostinfo i get an error of no such file or directory.

    in the .pro i have QT += core gui network.

    the QHostinfo.h exists in the qt download package. is there an alternative if i can't solve this?

  • solved. I have to add another qmake location to the options in qt designer

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.