Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. writing to file

writing to file

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 276 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.
  • 1 Offline
    1 Offline
    1XU7
    wrote on last edited by
    #1

    Hello!

    i want to write some text to local file... i have tried using std::fstream and QFile both ways there is no text file generated in my working or build directory, it is still WebAssembly missing the use for file system?

    Is there another solution for this?

    Thanks in advance

    jsulmJ 1 Reply Last reply
    0
    • 1 1XU7

      Hello!

      i want to write some text to local file... i have tried using std::fstream and QFile both ways there is no text file generated in my working or build directory, it is still WebAssembly missing the use for file system?

      Is there another solution for this?

      Thanks in advance

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @1XU7 said in writing to file:

      Is there another solution for this?

      According to "Local File Access" https://doc.qt.io/qt-6/wasm.html you can use IDBFS to store data persistently.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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