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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top