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. QT access file path for keep to token
Forum Updated to NodeBB v4.3 + New Features

QT access file path for keep to token

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 219 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.
  • R Offline
    R Offline
    Raii
    wrote on last edited by Raii
    #1

    hello I taken a token from a web service in my project and i need to keep this token, is there a common file path in windows or mac linux like txt file. or where I can access and store the windows registry
    for example c:/users/(how can I acces here) Thanks

    JonBJ 1 Reply Last reply
    0
    • R Raii

      hello I taken a token from a web service in my project and i need to keep this token, is there a common file path in windows or mac linux like txt file. or where I can access and store the windows registry
      for example c:/users/(how can I acces here) Thanks

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Raii
      https://doc.qt.io/qt-5/qsettings.html lets you access the Windows registry if you wish.

      https://doc.qt.io/qt-5/qstandardpaths.html gives the paths for home directory and various other places to store user/application data.

      Whether these are appropriate for your "I bought a token from a web service" I can't say.

      1 Reply Last reply
      1

      • Login

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