Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QNetworkConfiguration and QNetworkConfigurationManager alternatives for Qt 5.15.2
Forum Update on Monday, May 27th 2025

QNetworkConfiguration and QNetworkConfigurationManager alternatives for Qt 5.15.2

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt 5.15qnetworkqt 6
3 Posts 3 Posters 1.3k Views
  • 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.
  • B Offline
    B Offline
    BikashRDas
    wrote on 7 Jan 2021, 05:35 last edited by
    #1

    I am using Qt 5.15.2 enterprise edition on Windows 10. I am getting following warning messages continuously, though the application is working fine:

    warning C4996: 'QNetworkConfiguration': was declared deprecated

    While going through the documents, I realized that both QNetworkConfiguration and QNetworkConfigurationManager classes are obsolete.

    Please let me know what are the alternative classes to be used for the above two classes.
    Thanks in advance.

    P 1 Reply Last reply 7 Jan 2021, 12:34
    0
    • B Offline
      B Offline
      Bonnie
      wrote on 7 Jan 2021, 05:57 last edited by Bonnie 1 Jul 2021, 06:00
      #2

      It seems that there isn't any alternative yet: https://bugreports.qt.io/browse/QTBUG-85332

      1 Reply Last reply
      1
      • B BikashRDas
        7 Jan 2021, 05:35

        I am using Qt 5.15.2 enterprise edition on Windows 10. I am getting following warning messages continuously, though the application is working fine:

        warning C4996: 'QNetworkConfiguration': was declared deprecated

        While going through the documents, I realized that both QNetworkConfiguration and QNetworkConfigurationManager classes are obsolete.

        Please let me know what are the alternative classes to be used for the above two classes.
        Thanks in advance.

        P Offline
        P Offline
        Pablo J. Rogina
        wrote on 7 Jan 2021, 12:34 last edited by Pablo J. Rogina 1 Jul 2021, 12:35
        #3

        @BikashRDas said in QNetworkConfiguration and QNetworkConfigurationManager alternatives for Qt 5.15.2:

        I am using Qt 5.15.2 enterprise edition

        Is that version backed by a commercial license from Qt?
        If so, you may want to ask for help from Qt support directly

        Upvote the answer(s) that helped you solve the issue
        Use "Topic Tools" button to mark your post as Solved
        Add screenshots via postimage.org
        Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0

        1/3

        7 Jan 2021, 05:35

        • Login

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