Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. WinRT - Different behaviour with QtCreator and VisualStudio
Qt 6.11 is out! See what's new in the release blog

WinRT - Different behaviour with QtCreator and VisualStudio

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 340 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • niqtN Offline
    niqtN Offline
    niqt
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved