TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Qt for WebAssembly Technology Preview

243 点作者 fantasticsid大约 7 年前

19 条评论

freedomben大约 7 年前
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 未加载
keyle大约 7 年前
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 未加载
mappu大约 7 年前
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 未加载
giancarlostoro大约 7 年前
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 未加载
emilsedgh大约 7 年前
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 未加载
emilsedgh大约 7 年前
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 未加载
kodablah大约 7 年前
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_herman大约 7 年前
<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 未加载
mwcampbell大约 7 年前
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 未加载
arusahni大约 7 年前
So, you&#x27;re saying I could use a QTWebView in the browser?
评论 #16907933 未加载
评论 #16907712 未加载
评论 #16907725 未加载
评论 #16907734 未加载
评论 #16911350 未加载
solarkraft大约 7 年前
This (assuming it&#x27;s Qt Quick) opens the door for a competitor to HTML for web apps.
评论 #16908076 未加载
jkollross大约 7 年前
How long until someone uses this to make an Electron app?
评论 #16907750 未加载
grondilu大约 7 年前
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 未加载
alex7o大约 7 年前
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.
IncRnd大约 7 年前
<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>
chuckdries大约 7 年前
Honestly, I can&#x27;t wait to try it. This is exciting.
zengid大约 7 年前
It would be great if this could be done with JUCE too!
评论 #16909091 未加载
thomasfl大约 7 年前
No demo page?
keyle大约 7 年前
&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 未加载