TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Qt for WebAssembly Technology Preview

243 pointsby fantasticsidabout 7 years ago

19 comments

freedombenabout 7 years ago
Really surprised and saddened by the negative comments here. Qt is an amazing framework that has been around for nearly 30 years. Developing with it is a great experience, probably the most enjoyable coding I&#x27;ve done.<p>I have faith that the Qt project won&#x27;t spend time shipping this if it doesn&#x27;t offer advantages. Give them time, and a little benefit of the doubt based on a very long history of excellence.
评论 #16908438 未加载
评论 #16908385 未加载
评论 #16908418 未加载
keyleabout 7 years ago
This reminds me of a time, when I used to work for a very large company. After an unfortunate amount of meetings and powerpoint presentations about ubiquity and compatibility, we ended up putting a Flash VM inside a Java client, to read HTML.<p>Oh boy, sometimes you just walk away from a crash, but you&#x27;re never the same.
评论 #16907983 未加载
评论 #16910949 未加载
评论 #16907903 未加载
mappuabout 7 years ago
Note that Qt has two separate technology previews for porting Qt apps to run in the web browser:<p>Qt WebGL streaming (qplatform&#x2F;qpa plugin):<p>The Qt binary runs on your PC as normal, but instead of opening an X11&#x2F;Win32 window, opens a network port. You can open the URL in a browser to see the interface. Only one connection is allowed &#x2F; only one user can interact with the app at a time.<p>Technology preview since 5.10, will be &quot;TP2&quot; status in 5.11. See <a href="http:&#x2F;&#x2F;blog.qt.io&#x2F;blog&#x2F;2017&#x2F;11&#x2F;14&#x2F;qt-webgl-cinematic-experience&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.qt.io&#x2F;blog&#x2F;2017&#x2F;11&#x2F;14&#x2F;qt-webgl-cinematic-experie...</a> and <a href="http:&#x2F;&#x2F;blog.qt.io&#x2F;blog&#x2F;2017&#x2F;07&#x2F;07&#x2F;qt-webgl-streaming-merged&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.qt.io&#x2F;blog&#x2F;2017&#x2F;07&#x2F;07&#x2F;qt-webgl-streaming-merged&#x2F;</a><p>Qt for WebAssembly:<p>The entire QtWidgets &#x2F; QML libraries are compiled to WASM and run clientside. There is no server-side component.<p>Will be released as a technology preview in the upcoming 5.11 release.
评论 #16908394 未加载
评论 #16908353 未加载
评论 #16909430 未加载
giancarlostoroabout 7 years ago
Say what you will, we need these kind of projects in order to push forward WebAssembly (and eventually JavaScript may not be the only dominant language for front-end web development). I&#x27;m curious how much of the canvas they&#x27;re taking advantage of if any of it. It&#x27;s quite exciting. I might wind up porting one of my existing Qt applications just to try this out and see what that would be like.
评论 #16908090 未加载
emilsedghabout 7 years ago
I could find a few live demos [0] although some are broken<p>[0] <a href="https:&#x2F;&#x2F;msorvig.github.io&#x2F;qt-webassembly-examples&#x2F;" rel="nofollow">https:&#x2F;&#x2F;msorvig.github.io&#x2F;qt-webassembly-examples&#x2F;</a>
评论 #16910207 未加载
评论 #16910316 未加载
评论 #16910024 未加载
emilsedghabout 7 years ago
I&#x27;m seeing a ton of snarky comments, but isn&#x27;t this what exactly WebAssemly is about (which I see people praising everyday as it opens up possibilities)
评论 #16908108 未加载
kodablahabout 7 years ago
There is emscripten-qt that built Qt apps w&#x2F; Emscripten for a while now[0] (since asm.js and WASM should not change anything even though it hasn&#x27;t had updates in a few years). Appears this uses Emscripten as well. I wonder how this compares at a tech level.<p>0 - <a href="http:&#x2F;&#x2F;vps2.etotheipiplusone.com:30176&#x2F;redmine&#x2F;projects&#x2F;emscripten-qt" rel="nofollow">http:&#x2F;&#x2F;vps2.etotheipiplusone.com:30176&#x2F;redmine&#x2F;projects&#x2F;emsc...</a>
评论 #16908201 未加载
brian_hermanabout 7 years ago
<a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death-of-javascript" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death...</a> The end is neigh
评论 #16908907 未加载
mwcampbellabout 7 years ago
Unfortunately, this port seems to lack accessibility for blind people and others that require assistive technology. My conclusion is based on the demos linked elsewhere on this thread. [0] I have no idea how to make a conventional GUI toolkit accessible with ARIA, but I hope the Qt developers figure it out.<p>Edit: Forgot to mention that I tested on Windows with a screen reader and Chrome.<p>[0]: <a href="https:&#x2F;&#x2F;msorvig.github.io&#x2F;qt-webassembly-examples&#x2F;" rel="nofollow">https:&#x2F;&#x2F;msorvig.github.io&#x2F;qt-webassembly-examples&#x2F;</a>
评论 #16911545 未加载
arusahniabout 7 years ago
So, you&#x27;re saying I could use a QTWebView in the browser?
评论 #16907933 未加载
评论 #16907712 未加载
评论 #16907725 未加载
评论 #16907734 未加载
评论 #16911350 未加载
solarkraftabout 7 years ago
This (assuming it&#x27;s Qt Quick) opens the door for a competitor to HTML for web apps.
评论 #16908076 未加载
jkollrossabout 7 years ago
How long until someone uses this to make an Electron app?
评论 #16907750 未加载
grondiluabout 7 years ago
Looking at software that uses Qt[1], I&#x27;d say I&#x27;ll be impressed once they have compiled one of them, say for instance Stellarium, to Wasm. It&#x27;d be great to see how a full software, not just a toy demo, behaves in webassembly.<p>1. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Qt_(software)#Applications_using_Qt" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Qt_(software)#Applications_usi...</a>
评论 #16915348 未加载
alex7oabout 7 years ago
If everybody has a problem with Qt why don&#x27;t we see gtk on more systems. The last time I checked you can use gtk on win&#x2F;Linux&#x2F;Mac it is free, and it sort of works.
IncRndabout 7 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;msorvig&#x2F;qt-webassembly-examples" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;msorvig&#x2F;qt-webassembly-examples</a>
chuckdriesabout 7 years ago
Honestly, I can&#x27;t wait to try it. This is exciting.
zengidabout 7 years ago
It would be great if this could be done with JUCE too!
评论 #16909091 未加载
thomasflabout 7 years ago
No demo page?
keyleabout 7 years ago
&quot;Because you can doesn&#x27;t mean you should.&quot; -common sense.<p>But then again, since 2017, anything that can happen will.
评论 #16907762 未加载
评论 #16907758 未加载