Wrong storage path on Android
-
After upgrading to Qt 5.13.1 (from Qt 5.11) I found out that QStandardPaths::writableLocation(QStandardPaths::HomeLocation) returns wrong path. In fact I think that my whole app is installed to a wrong directory.
The package name of my app is cz.jech.muzika, but the function above returns path /data/user/0/com.example.sabrim.sbrtest/files/. I have no idea where the package name com.example.sabrim.sbrtest comes from. I found it some Qt examples. Maybe it is somewhere incorrectly hard-coded.
My phone is not rooted so I cannot check the paths and what is stored there. I have a lot of other problems which I do believe are all related to this issue. Should I file a bug report for it? Can somebody confirm this problem? Thank you.
-
After upgrading to Qt 5.13.1 (from Qt 5.11) I found out that QStandardPaths::writableLocation(QStandardPaths::HomeLocation) returns wrong path. In fact I think that my whole app is installed to a wrong directory.
The package name of my app is cz.jech.muzika, but the function above returns path /data/user/0/com.example.sabrim.sbrtest/files/. I have no idea where the package name com.example.sabrim.sbrtest comes from. I found it some Qt examples. Maybe it is somewhere incorrectly hard-coded.
My phone is not rooted so I cannot check the paths and what is stored there. I have a lot of other problems which I do believe are all related to this issue. Should I file a bug report for it? Can somebody confirm this problem? Thank you.