Access local user file on Qt for Web Assembly
Unsolved
General and Desktop
-
Hi,
I want to access to local files (read binary file) in my software on Qt for Web assembly.It seems there is already a function to do that: QFileDialog::getOpenFileContent. But I can't find any related example to show how to use this function. I'll appreciate that if someone help me how to use this function.
Thanks.
-
Hi
Is Web Assembly not sandboxed and hence its not possible to access local files?
Just like anything else in browsers these days ?
Nope. Reading the docs helps ;) -
@mrjj "This function is used to access local files on Qt for WebAssembly", https://doc.qt.io/qt-5/qfiledialog.html#getOpenFileContent
-