Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QStandardPaths: what is the difference in PathTypes?
Qt 6.11 is out! See what's new in the release blog

QStandardPaths: what is the difference in PathTypes?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 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.
  • B Offline
    B Offline
    bogong
    wrote on last edited by
    #1

    Hello!

    In the documentation of QStandardPaths for storing something in device mentioned:

    • QStandardPaths::ConfigLocation vs QStandardPaths::GenericConfigLocation - return the same path
    • QStandardPaths::AppLocalDataLocation vs QStandardPaths::AppDataLocation - return the same path

    The question is - What is better to use? What is the difference?
    I've been trying to get a difference but gotten failed. There are the same for every pair member.

    My issue is to storing application data and configuration.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      They may return different paths on other Operating Systems (for example: Windows has 3 data locations: user, local and roaming). See detailed description here.

      (Z(:^

      B 1 Reply Last reply
      3
      • sierdzioS sierdzio

        They may return different paths on other Operating Systems (for example: Windows has 3 data locations: user, local and roaming). See detailed description here.

        B Offline
        B Offline
        bogong
        wrote on last edited by
        #3

        @sierdzio Thx. I've never been using Windows ... That's why it's curious for me ... In MacOS and mobile it's the same. I've seen this manual that you sent in reply.

        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