If you get the error "Input file has an unknown suffix" that means you used a "space" in the foldername... so dont call your folder "Build Webassembly" use "BuildWebassembly". Just saying so other people dont have to google around so much. Very nice video btw helped alot :)
Thank you very much! One more question, how do I set up the Emscripten compiler + wasm kit in Qt Creator? When I try to build a project, it says "Project ERROR: Cannot run target compiler em++. Output: Maybe you forgot to setup the environment?"
and if the application tries to write data somewhere on the hard disk (e.g. settings), does that work in webassembly ? isn't that something that browsers normally prevent ?
Hello. I am trying to build my project with the method in the video. But I am including opencv and boost library functions in my project. I linked the opencv and boost libraries, but it seems that the link doesn't seem to be working properly, so the build doesn't seem to work. Do you know how to link a library?
Try disabling windows store python: superuser.com/questions/1437590/typing-python-on-windows-10-version-1903-command-prompt-opens-microsoft-stor And then try again. If it doesnt work in Git Bash, try doing it in Command prompt without "./" so: emsdk install 1.39.8
Awesome video, do you know if its possible to use WebView or WebViewEngine in Qt WebAssembly? I;ve been trying to get those two modules to work with QT Assembly with no luck, any advice?
For me this solved it: Open run, than type this: chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security After that the command line at your builded directory: emrun --browser chrome yourProjectName.html
You don't know me but you saved my internship. I hope you will live a long and happy life.
If you get the error "Input file has an unknown suffix" that means you used a "space" in the foldername... so dont call your folder "Build Webassembly" use "BuildWebassembly". Just saying so other people dont have to google around so much. Very nice video btw helped alot :)
Qt for web assembly was something I wanted to try but I could not do it by myself. I will try this as soon as possible. Thank you a lot.
Thank you very much! One more question, how do I set up the Emscripten compiler + wasm kit in Qt Creator?
When I try to build a project, it says "Project ERROR: Cannot run target compiler em++. Output: Maybe you forgot to setup the environment?"
and if the application tries to write data somewhere on the hard disk (e.g. settings), does that work in webassembly ? isn't that something that browsers normally prevent ?
Hi... what about the API for WebAssembly ?. is it the same as a standard desktop program?..
thanks!
Hello, it's possible to run a qt application with webassembly running on ssl website? Thanks
Hello when i install ./emsdk -> python not found. Do you have any ideas whtas wrong?
Thanks. Can you update the content of this video (using Cmake in Qt 6.2) especially now that Qt for Webassembly is in technology preview.
Hello. I am trying to build my project with the method in the video. But I am including opencv and boost library functions in my project. I linked the opencv and boost libraries, but it seems that the link doesn't seem to be working properly, so the build doesn't seem to work. Do you know how to link a library?
will this work with a PyQt5 app?
Yes
@@mouhamadbourouba5382 I don't think it does unfortunately, but if you know something i dont pls tell me lol
Is it just me or when I do : ./emsdk install 1.39.8, I got an error like this : Permission denied
on line 47 ?
Try disabling windows store python: superuser.com/questions/1437590/typing-python-on-windows-10-version-1903-command-prompt-opens-microsoft-stor
And then try again. If it doesnt work in Git Bash, try doing it in Command prompt without "./" so: emsdk install 1.39.8
@@MontyTheSoftwareEngineer Oh thanks it works on command prompt
Awesome video, do you know if its possible to use WebView or WebViewEngine in Qt WebAssembly? I;ve been trying to get those two modules to work with QT Assembly with no luck, any advice?
Nah you can't. Not yet at least
does the app work in android chrome or with ios browser? I have tested some qt wasm examples and it seems only work properly in desktop browser.
Works for me in iOS browser!
Really informative videos thanks!
When trying it in chrome i get this ‘TypeError: Unable to fetch’,
How can i solve this issue ?
For me this solved it:
Open run, than type this:
chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
After that the command line at your builded directory:
emrun --browser chrome yourProjectName.html
Hi did you get that working? I am still getting the error "TypeError: Failed to fetch"
@@bibinthomasmattaparampil unfortunately I couldn't solve the problem and changed the project
what about linux?
Should be almost identical I’ll try to make a video if I see people are having issues with it
Thank you very much!