News for hackers. Stuff that matters.
Re:CXX-Qt: Safe Rust bindings for Qt by gbin on Wednesday March 02, 2022 @06:46AM (#30526244)
Small tip: put a working example when you advertise such an API with a screenshot as a bonus. As a developer I want to see if the bindings feel natural and maybe try it right away. Here both the article and the GitHub readme lack this.
Re:CXX-Qt: Safe Rust bindings for Qt by Kelteseth on Wednesday March 02, 2022 @07:07AM (#30526419)
Re:CXX-Qt: Safe Rust bindings for Qt by detaro on Wednesday March 02, 2022 @07:13AM (#30526455)
And the start of the "book" also explains an example: https://kdab.github.io/cxx-qt/book/getting-started/2-our-fir... Fully agreed that should be more obvious though.
Re:CXX-Qt: Safe Rust bindings for Qt by simlevesque on Wednesday March 02, 2022 @11:43AM (#30529340)
The first comment says specifically "screenshot" but the links you and the person you replied to mentionned both have no screenshot.

We want screenshots. Images of the end product GUI.

Re:CXX-Qt: Safe Rust bindings for Qt by rat9988 on Wednesday March 02, 2022 @06:55PM (#30535228)
Honestly no one needs screenshot. It's not showcasing a gui framework, but a binding to an existing one.

I'd go as far to say that if you need screenshot for this, you may not be their primary audience.

Re:CXX-Qt: Safe Rust bindings for Qt by detaro on Wednesday March 02, 2022 @11:46AM (#30529376)
It' says "a working example" - which we referenced. With "a screenshot as a bonus". And a screenshot is pretty pointless for a binding library, since it doesn't impact what the GUI looks like, so it's not surprising a simple example to show the code doesn't have one.

EDIT: i.e. after looking at the QML, from quick glance it'll render two lines of text and two buttons in QML default styling. What do you gain from that?

Re:CXX-Qt: Safe Rust bindings for Qt by melony on Wednesday March 02, 2022 @07:23AM (#30526537)
And screenshots!
Re:CXX-Qt: Safe Rust bindings for Qt by marcosdumay on Wednesday March 02, 2022 @08:32AM (#30527103)
Although I agree that screenshots will attract some people, it's Qt. The look and feel won't be any different from any other Qt application (or better, it will be completely dependent on theming, so the pictures won't even reflect what you get.)