Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Access local user file on Qt for Web Assembly
alizadeh91 last edited by
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.
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