Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QtNetworkSettings not working
I want to use QtNetworkSettings for my application. But when I try to include <QtNetworkSettings> error: No such file or directory.
I tried adding the following in .pro file:
- QT += network
- QT += gui core network
Still facing same error.
Any idea how to use this feature in qt.
@manny_lp Please take a look at https://doc.qt.io/QtDeviceUtilities/qtnetworksettings-module.html and fix your pro file
@jsulm I tried adding QT += network as mentioned in the document. In spite of that its not compiling!!!
The document pointed by @jsulm shows:
QT += networksettings
@SGaist Even with QT += networksettings I am unable to use <QtNetworkSettings>
@manny_lp after manipulating your *pro file, make sure to clean(delete) your build folder for a complete rebuild,