WebAssembly - EMSDK - QT 6.11 Community Edition

62 views
Skip to first unread message

Bert Mariani

unread,
Jun 28, 2026, 4:19:32 PMJun 28
to The Ring Programming Language
Hello Mahmoud et ALL

The following screen shots (17)  Show how I managed to get 
WebAssembly, QT 6.11 Community Edition , and EMSDK 4.0.7,  all working.
And Fix the Python Errors !


Snap15.png

Snap17.png

Snap1.png

Select Custom Installation  Web Assembly was Hidden !!
Snap2.png

Snap3.png

Snap4.png

Snap5.png

Snap6.png

Snap7.png

Snap8.png

Snap9.png

Snap10.png

Snap11.png

Snap12.png

Snap13.png

RESTART QT Creator
Snap14.png

Now Looks Clean

======================




Snap2.png

Mahmoud Fayed

unread,
Jun 28, 2026, 4:41:30 PMJun 28
to The Ring Programming Language
Hello Bert

Very nice :D

Note: Ring 1.27 uses Qt 5

Future releases of Ring will support Qt 6

Greetings,
Mahmoud

Bert Mariani

unread,
Jul 3, 2026, 4:27:51 PM (12 days ago) Jul 3
to The Ring Programming Language
Hello Mahmoud et ALL

WebAssembly uses the Browser.
The Curl we use in Ring ( which works ) does not run in the Browser
So WebAssembly can not fetch historical quotes from Yahoo !

================================================

Why curl works and my browser version doesn't: curl_easy_perform() in your Ring program makes a direct, unrestricted TCP/TLS connection to Yahoo from your desktop process. There's no browser, no origin, no sandbox — curl can set any header it wants and Yahoo just answers.

A page running in a browser can't do that. The Same-Origin Policy blocks JavaScript from calling query1.finance.yahoo.com directly (Yahoo sends no CORS headers), so I routed it through a public CORS proxy. That 403 is almost certainly Yahoo blocking the proxy's IP, not your request — Yahoo actively blacklists well-known public CORS proxies (corsproxy.io included) because they're a popular scraping vector. My code isn't malformed; the proxy hop itself is the weak link, and no amount of header-tweaking from a browser fixes that.

===============================================


Mahmoud Fayed

unread,
Jul 9, 2026, 9:27:08 PM (6 days ago) Jul 9
to The Ring Programming Language
Hello Bert

>> " So WebAssembly can not fetch historical quotes from Yahoo !"

It can connect to your web server who provided WASM files to the client
So, you can develop a backend (Say using RingHTTPLib or Bolt framework) 
Then connect to this backend using WASM assuming WASM files are served from your backend server

Another direction: Just develop a normal web application
Bolt Framework: Bolt

Greetings,
Mahmoud

Reply all
Reply to author
Forward
0 new messages