writing to file
Unsolved
Qt for WebAssembly
-
wrote on 21 Sept 2023, 03:18 last edited by
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
-
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
@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.
2/2