Better HN
topnewbestaskshowjobs
Log inSign up

llornkcor

12 karma · joined Feb 19, 2015 (11y ago) · 18 submissions

Submissions

comment 4y ago · link · parent

You give up too easily. Do you know you can download the sources via git? You can even pick and choose which Qt modules you want. No account needed.

comment 4y ago · link · parent

Perhaps you could choose this license? https://www.qt.io/pricing/qt-for-small-business

comment 4y ago · link · parent

Actually you should be able to cut/paste. Highlighting text also works. https://lpotter.github.io/textedit/textedit.html

comment 4y ago · link · parent

Easier testing and deployment. Develop and test one platform. Deployment is a url.

comment 4y ago · link · parent

https://doc-snapshots.qt.io/qt6-6.4/wasm.html

comment 4y ago · link · parent

drag and drop requires configuring your app with asyncify option. https://doc-snapshots.qt.io/qt6-6.4/wasm.html#asyncify

comment 4y ago · link · parent

You are wrong about development focus. qtbase/qtwidgets are still very much being developed.

comment 4y ago · link · parent

Do you know about Qt for Small Business? https://www.qt.io/pricing/qt-for-small-business

comment 4y ago · link · parent

Answered my own question by reading the README.wasm.md "We're using Qt 5.15.2 with Emscripten 2.0.31. "

comment 4y ago · link · parent

> Qt clearly deserves the credit for having a WASM runtime that gets us a working GUI toolkit.

You're welcome. :) What version of Qt did you use for this demo? Also, for local system file access dialog on Qt wasm, you can use https://doc.qt.io/qt-6/qfiledialog.html#getOpenFileContent

comment 7y ago · link · parent

and now the web too!

comment 7y ago · link · parent

It is open source. You will need the emscripten compiler. https://wiki.qt.io/Qt_for_WebAssembly It is possible to use cmake, it is a bit of a pain to set this up though.

comment 7y ago · link · parent

Accessiblity will not work as emscripten does not have access to the DOM at this time. Emscripten is the magic here, not anything Qt is doing.

Regarding the issues you see: They ignore the browser width (and your other "issues") because they were designed that way. Check out: https://s3.eu-west-2.amazonaws.com/wasm-qt-examples/last/qtb...

from https://s3.eu-west-2.amazonaws.com/wasm-qt-examples/last/ind...

Seems responsive to me, tab works fine and dandy, text is selectable, right click works fine as well. I dunno what you are complaining about.

Other Qt WebAssembly apps behave like you want them to.

comment 8y ago · link · parent

That is a completely different thing. broadwayd is only a display server. Qt for WebAssembly runs in the browser in the same secure javascript sandbox.

comment 8y ago · link · parent

this is an early tech preview, not at release level.

comment 8y ago · link · parent

mouse wheel and trackpad support was added, but did not make it into that blogs tech preview

comment 8y ago · link · parent

If it compiles, you might run into memory issues

comment 8y ago · link · parent

mouse wheel support was added after this blog and its tech preview