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

QSettings issue mingw32 vs. msvc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 5.5.1, 5.7.0
    • Core: I/O, QPA: Windows
    • None
    • Windows Desktop

    Description

      Got access error when writing to a key in the registry, but only when my application is build with msvc (2013, havent tried others)
      If the application is build with mingw32 everything works as expected.
      The framework is the prebuild versions. 5.5.1 and 5.7.0

      Attached sample output:

      mingw32 - Output:
      Getting MyNewPort value:COM2
      Setting MyNewPort=COM2 status:0 <- Success
      Getting MyNewPort value:COM2

      msvc - Output:
      Getting MyNewPort value:default <- Failed reading also
      Setting MyNewPort=COM2 status:1 <- Failed writing
      Getting MyNewPort value:default <- Failed reading also

      Others have tested also, see:
      http://forum.qt.io/topic/70102/qsettings-issue-mingw32-vs-msvc/2

      Attachments

        1. QSettingsTest.zip
          2 kB
        2. qtbug55257_diag.diff
          2 kB
        3. qtbug55257_min.zip
          1 kB
        4. qtbug55257.zip
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kleint Friedemann Kleint
            enrico Henrik Christensen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes