Live data from Hacker News

A Simple Rust GUI with QML

vandenoever.info

1–10 of 55 posts

Re: A Simple Rust GUI with QML

#3
post #2

How does it compare to https://github.com/cyndis/qmlrs ?

This project is "dead" for quite some time now. Don't know if they really restructure the project (this was the last active conversation i witnessed in the issues section https://github.com/cyndis/qmlrs/issues/28 ) or if its just abandoned now. currently i use this for playing around with rust + qml https://github.com/White-Oak/qml-rust this is the one used in the example, too

Re: A Simple Rust GUI with QML

#4
Gist that I've been developing for quick setup guides (PRs welcome!): https://gist.github.com/ErichDonGubler/c802e066de7068241f0e6...

We're still trying to get this to work with Windows. I've been reporting on this issue here: https://github.com/White-Oak/qml-rust/issues/31.

Any suggestions to get this going would be appreciated! Developing with Rust/QML on Windows definitely seems possible at this point...that said, most of what's left to be defined is what setup is required to actually get things to work.

Re: A Simple Rust GUI with QML

#5
Part of me wonders how much better web programming could have been a decade ago if QT was the standard that browsers implemented, and we just shipped around QT frontends that ran sandboxed in the browser.

Re: A Simple Rust GUI with QML

#7

Part of me wonders how much better web programming could have been a decade ago if QT was the standard that browsers implemented, and we just shipped around QT frontends that ran sandboxed in the browser.

I'm okay with the alternative.

HTML + CSS + JS are just barely not shitty, but have such widespread adoption and libraries. Web apps are just so easy to package and maintain.

Re: A Simple Rust GUI with QML

#9
Because it has largely not been done before, part of me wonders how well Rust would work to build a large, complex GUI. All GUI code I've seen relies on inheritance and dynamic dispatch to structure APIs.

I would love to see something like the Flutter Engine[1] written in Rust, which is a layer tree that runs in an OpenGL context and includes text rendering, shape drawing, gesture recognition, scroll layers, a layout engine, etc. – all components necessary for modern mobile app development.

[1] https://github.com/flutter/engine

Re: A Simple Rust GUI with QML

#10

What is it about Rust that makes porting QT different from any other language?

C++ is notoriously hard to bind. The only high-quality Qt bindings I know of are Python ones (Pyside).

shameless plug for my Go binding: https://github.com/therecipe/qt it's still WIP though
Post reply on HN