Unsolved WinRT - Different behaviour with QtCreator and VisualStudio
-
Hi,
i use the QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) path to write and read tha app data. QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) is c:\user\USER\AppData\Local\Packages\xxxx-yyyy-zzzz\LocalState if i move my assets (with copy command or copy/paste) in this directory and start the app with the QtCreator the directory is deleted and recreated and i lost the data, instead if i start the app with VisualStudio the directory is not deleted and the app see the assets! Which is the correct behaviour? Where i must push my data so i don't lost it also when the app is upgrated? How i can copy the data in this directory QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation usin instructions in the .pro file?