Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtNetworkSettings not working
Qt 6.11 is out! See what's new in the release blog

QtNetworkSettings not working

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 4 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manny_lp
    wrote on last edited by
    #1

    Hi all,

    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:

    1. QT += network
    2. QT += gui core network
      Still facing same error.

    Any idea how to use this feature in qt.

    jsulmJ 1 Reply Last reply
    0
    • M manny_lp

      Hi all,

      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:

      1. QT += network
      2. QT += gui core network
        Still facing same error.

      Any idea how to use this feature in qt.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @manny_lp Please take a look at https://doc.qt.io/QtDeviceUtilities/qtnetworksettings-module.html and fix your pro file

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • M Offline
        M Offline
        manny_lp
        wrote on last edited by
        #3

        @jsulm I tried adding QT += network as mentioned in the document. In spite of that its not compiling!!!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          The document pointed by @jsulm shows:

          QT += networksettings
          

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • M Offline
            M Offline
            manny_lp
            wrote on last edited by
            #5

            @SGaist Even with QT += networksettings I am unable to use <QtNetworkSettings>

            J.HilkJ 1 Reply Last reply
            0
            • M manny_lp

              @SGaist Even with QT += networksettings I am unable to use <QtNetworkSettings>

              J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              @manny_lp after manipulating your *pro file, make sure to clean(delete) your build folder for a complete rebuild,


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved