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. Configured wifi connection save and retrieve from qfile in qt
Forum Updated to NodeBB v4.3 + New Features

Configured wifi connection save and retrieve from qfile in qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
wifi connection
3 Posts 3 Posters 1.4k 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.
  • A Offline
    A Offline
    anandvivek
    wrote on 4 Dec 2015, 04:59 last edited by
    #1

    Hi,
    In my qt application I have to save available wifi connections and their passwords to file, if I click already configured wifi connection ssid name it should compare with file and it should take the respective password from file. I have multiple wifi connections all should work like this. please help me to achieve.

    Thanks for advance.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 Dec 2015, 05:33 last edited by
      #2

      What is the problem?
      You store all known wifi networks in a file (for example SSID - password combination in each row).
      Later your application opens the file reads the content in, for example, a hash/map (SSID as key, password as value), and uses this hash/map to search for a SSID. All you need is QFile, QHash or QMap.

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 4 Dec 2015, 23:51 last edited by
        #3

        Hi,

        To add to @jsulm, please consider the security hole you might be creating with your application. Storing SSID's and passwords in plain text is a bad idea.

        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

        3/3

        4 Dec 2015, 23:51

        • Login

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