Android 5.5.1 QSettings not writable anymore
-
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.
Anyone noticed the same?
Thanks
-
Additional info:
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"
-
Hi,
Did you also change version of Android in between ?
-
Actually yes, first symptoms appeared with Android 6 and API 22 not working, so i updated to API 23. Now with 23 it does not work on Android 4, 5 and 6.
Could it be Android 6 problem?Still, QSetting file name is not correct, which may or may not related.
I submitted QTBUG-49101.
[edit: added link to bug report SGaist]
-
Thanks for the report !
-
Thanks !