Android: Not creating subdir in QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation). Why?
Solved
Mobile and Embedded
-
Hello!
I have this in my application:QString oPath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/ApplicationName";
and
bool ADir::mEnsure(QString inPath) { QDir oDir(inPath); if (!oDir.exists()) { return oDir.mkpath("."); }; return true; }
This function ensure dir existence on MacOS and iOS everywhere, on Android everywhere but not in QStandardPaths::GenericDataLocation. Why? The same piece of code working perfectly for Android QStandardPaths::GenericConfigLocation. What am I missing?