QStandardPaths::AppDataLocation behaves differently between Qt 5.7 and earlier versions

  • By calling QStandardPaths::writableLocation(QStandardPaths::AppDataLocation) in Qt 5.6.1 and Qt 5.7,
    I got different results with iOS:

    /var/mobile/Containers/Data/Application/0CE2549A-CE78-4F1D-8162-B37F9E7FC932/Library/Application Support
    /var/mobile/Containers/Data/Application/72F97D08-D3F5-48B3-835C-87F715E240CC/Library/Application Support

    The data for the installed app will not be accessed again by the same function call.
    Is there any design change for this? Is there any other way that we can obtain the path for Qt 5.6.1?

    Thank you.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.