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. Store of Wi-Fi scan SSIDs in QT file runtime?
Forum Update on Monday, May 27th 2025

Store of Wi-Fi scan SSIDs in QT file runtime?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 488 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.
  • WaseeW Offline
    WaseeW Offline
    Wasee
    wrote on last edited by
    #1

    Dear all!
    I need to store the SSIDs store in the qt file. Is it possible?
    Thanks

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      If you have some data and a way to serialize it then you can write it to a file using QFile.

      1 Reply Last reply
      1
      • WaseeW Offline
        WaseeW Offline
        Wasee
        wrote on last edited by
        #3

        @ChrisW67 Hi,
        Thanks your reply! I want to scan the WIFI using QNetworkManager? Which will give me SSIDs and then I will store them in QFile. Is it will be right approach?
        Thanks in adavance

        jsulmJ 1 Reply Last reply
        0
        • WaseeW Wasee

          @ChrisW67 Hi,
          Thanks your reply! I want to scan the WIFI using QNetworkManager? Which will give me SSIDs and then I will store them in QFile. Is it will be right approach?
          Thanks in adavance

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

          @Wasee said in Store of Wi-Fi scan SSIDs in QT file runtime?:

          Is it will be right approach?

          Yes, it is possible.
          Here how to scan for SSIDs: https://stackoverflow.com/questions/45486924/qt-scanning-wi-fi-by-qnetworkaccessmanager
          Accessing files in Qt: https://doc.qt.io/qt-5/qfile.html

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

          WaseeW 1 Reply Last reply
          1
          • C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #5

            The QNetworkConfigurationManager class is marked obsolete in Qt 5 and does not appear in Qt 6 AFAICT.
            Is there a future proof alternative?

            1 Reply Last reply
            0
            • jsulmJ jsulm

              @Wasee said in Store of Wi-Fi scan SSIDs in QT file runtime?:

              Is it will be right approach?

              Yes, it is possible.
              Here how to scan for SSIDs: https://stackoverflow.com/questions/45486924/qt-scanning-wi-fi-by-qnetworkaccessmanager
              Accessing files in Qt: https://doc.qt.io/qt-5/qfile.html

              WaseeW Offline
              WaseeW Offline
              Wasee
              wrote on last edited by
              #6

              @jsulm Hi;
              Your reply is appreciated! This code gave the SSIDs of all APs which are connected in future with the PC. If one time it stores the list then it does not update the new active wireless in the surrounding after saving in the TreeWidget why? After scanning these SSIDs is it possible to find MACs corresponding these SSIDs collected. Kindly help me regarding this.
              Thanks in advance!

              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