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

Android 5.5.1 QSettings default file name is wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.5.1
    • Core: Other
    • None
    • Android Galaxy S3 4.4.1, Nexus Android 6.0
    • 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

            qtandroidteam Qt Android Team
            vseryakov Vlad Seryakov
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes