qtqt-mobility

QSystemNetworkInfo not found


I want to compile a Qt project on desktop, but I get an error:

QSystemNetworkInfo: file not found.

I have added INCLUDEPATH to my .pro file, but I still get the error.

Any suggestions?


Solution

  • QSystemNetworkInfo class is part of the QtMobility APIs, which is unfortunately unavailable for desktop targets.