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. Acessing 32 bit and/or 64 bit registry via QSettings
Forum Updated to NodeBB v4.3 + New Features

Acessing 32 bit and/or 64 bit registry via QSettings

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.8k 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.
  • W Offline
    W Offline
    Wurgl
    wrote on last edited by
    #1

    In general it is very nice to allow direct access of the windows registry via QSettings
    https://qt-project.org/doc/qt-5/qsettings.html#accessing-the-windows-registry-directly
    I like that! Especially, because it reduces #ifdef's for programs running on different platforms.

    But Windows is a nightmare, especially those 64 bit versions, because they have a 32 bit trunk and a 64 bit trunk which hold partially shared and partially different data. 32 bit applications (which i prefer, since the same binary can run on old systems like XP too) access by default the 32 bit registry. When I need to access a 64 bit key (for example to find the installation path of some 64 bit programm like MS Office) I have no chance using the example in the link above.

    Are there any plans to allow a forced switch to 64 bit registry when reading the registry with QSettings?

    If not, I think it would be a nice idea to add a statement in the platform restrictions and maybe mention that problem in that example in the link above too.

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

      AFAIK there are no plans to expand the functionality of QSettings. Before Qt 5 was released, some people even suggested to deprecate the class: I think that says something about how much the Qt developers "like" it :P

      If you want more concrete answers, please use the "development":http://lists.qt-project.org/mailman/listinfo mailing list: that is where all developers of Qt libraries are. If you want to add a feature request, use Qt Bug Tracker (Jira).

      (Z(:^

      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