News for hackers. Stuff that matters.
Re:Qt 6.4 by jcelerier on Thursday September 29, 2022 @09:03AM (#33020011)
Yep, I do it with https://ossia.io (https://ossia.io/score-web) to make the occasional demo ; it's pretty alpha and drag'n'drop still seems to kill it but every Qt release has made it better without me having to do anything.. looking forward to updating!
Re:Qt 6.4 by qutierust on Thursday September 29, 2022 @10:55AM (#33021593)
How do you do it? I didn't know qt web was a thing? I remember I heard about one project but that was gpl i think
Re:Qt 6.4 by toyg on Thursday September 29, 2022 @12:01PM (#33022546)
At one point Nokia pushed the idea that you would write Qt apps to run on their cloud; they had a few actual customers doing it too. I don't know if the current owners kept going with the concept.

It makes sense, from the perspective of shops who invested heavily in upskilling on Qt, to reuse the knowledge to build web apps.

Re:Qt 6.4 by jcelerier on Thursday September 29, 2022 @11:06AM (#33021730)
ossia score is GPLv3 itself

regarding the how.. Qt provides a CMake wrapper which sets up the relevant flags automatically so with CMake/Qt projects it pretty much just works. Here's my build scripts:

- https://github.com/ossia/score/blob/master/ci/wasm.deps.sh

- https://github.com/ossia/score/blob/master/ci/wasm.build.sh

Re:Qt 6.4 by llornkcor on Thursday September 29, 2022 @04:33PM (#33026761)
Re:Qt 6.4 by llornkcor on Thursday September 29, 2022 @04:32PM (#33026750)
drag and drop requires configuring your app with asyncify option. https://doc-snapshots.qt.io/qt6-6.4/wasm.html#asyncify
Re:Qt 6.4 by jcelerier on Thursday September 29, 2022 @05:06PM (#33027224)
I think this is how I do it (https://github.com/ossia/score/blob/master/ci/wasm.build.sh) but it still stops working after some time