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

Android 5.5.1 QSettings default file name is wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.5.1
    • Fix Version/s: None
    • Component/s: Core: Other
    • Labels:
      None
    • Environment:
      Android Galaxy S3 4.4.1, Nexus Android 6.0
    • Platform/s:
      Android

      Description

      Hi,

      Recompiling existing working Android app with 5.5.1 resulted in QSettings returning status() == 1 and isWritable() == 0.
      The usage is basic, QSettings s; s.setValue(); s.sync();

      Same code works fine with 5.4.2.

      iOS works fine.

      The file name used by default for user settings is incorrect in 5.5.1 for Android,
      settings.fileName() reports "/.config/uCampaign/uCampaign.conf"
      while 5.4.2 settings.fileName() reports "/data/data/com.ucampaignapp/files/.config/uCampaign/uCampaign.conf"

        Attachments

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

          Activity

            People

            • Assignee:
              dfaure David Faure (Private)
              Reporter:
              vseryakov Vlad Seryakov
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes