Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13249

QSettings for Windows stores int and uint in windows registry in different formats

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.1
    • 4.7.0
    • None
    • None
    • windows registry
    • 7e05bf257d589e97e54b36cb112f96ae17cbd6f2

    Description

      QSettings xxx;
      DWORD x;
      xxx.setValue("a", (int)x); // will store as DWROD (as expected)
      xxx.setValue("b", (uint)x); // will store as string ! (not expected)

      settings should use REG_DWORD for any integer 32-bit type.
      settings should use REG_QWORD for any integer 64-bit type.

      not sure about short and char values....

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            liaqi Liang Qi
            socketpair@gmail.com Коренберг Марк
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes