17 comments

[ 3.2 ms ] story [ 39.1 ms ] thread
Already somewhat old, but still cute. I hope it brings you joy :)
It does! The inspiration threads itself through the unkempt sideproject garden.
Hah! Brings back old memories. I actually did something similar for an RPG I was trying to create from scratch using Qt3D (back in the day when it first came out and was getting stable, QT 5.8 maybe).

Had the whole isometric world down and used qml to script monsters and abilities.

Great and fun experience, thanks for sharing!

This sounds like a fun project? Did you publish your source code somewhere?
It made me happy to read that you had fun making this and that it made you happy.

That is what it is all about! Too often we forget to have fun.

The title is on point, that's cute! And elegantly done, too. That's a nice QML tutorial, thank you.
Great app! I have some experience with QT (mostly via Python/PyQT) but I want to get started with QML for a new app idea, so this example codebase will come in very handy. Any other resources you can recommend to get started with that?
OP here, We did/do professional trainings for QML for quite some time, but now that the technology is already around, we decided to publish our Basic QML Training as a video series on Youtube, together with excercises and all. You will find all videos at https://www.youtube.com/watch?v=JxyTkXLbcV4&list=PL6CJYn40gN...

Hope it helps and you reach your goals! :)

The KDAB tutorial video that wuschelhase recommended is great.

There is also the qmlbook: https://qmlbook.github.io/ that provides all the information you want to know about QML.

We (KDE) recently published a small tutorial about the Kirigami (our QML based convergent tooltip): https://develop.kde.org/docs/kirigami/. And generally taking a look at Plasma Mobile applications is a great learning resource.

Awesome! Would you say that QML is mostly interesting for mobile/convergent apps or is it something that you'd use for a normal desktop app as well?
I think it does well on desktop too. I deploy my app to Windows, Raspberry Pi, and Android. My initial testing of new features is all desktop, running on my Ubuntu dev machine, and I find it pretty reasonable.
Haha, just got the title pun. QT and Cute.
Hot take: QML is criminally underrated/underused/unknown in the industry.
qml is by far the best way to create frontends. its just so good.
What makes QML so good?
good question. i think its precisely the right mix of declarative UI definition and enough freedom for.procedural js
More like binding to C++ is difficult, lack of free non-copyleft implementations, and general lack of advantages over Flutter/Electron. After all, Embarcadero Delphi is also very powerful and easy to use but nobody uses them for good reasons.