Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

> Did you use C++ or is there a workaround to it?

I've been having fun writing apps in strict QML, intentionally. About every weekend I just take a traditional app use case and try writing it from scratch.

And surprisingly, the shortcoming is always documentation shortfalls. It took me digging through code samples to find out activeFocusItem is a thing, for example.

Just note you can't deploy QML only apps to mobile, you need a system with qmlscene installed already, but it is trivial to have a small C++ layer, and removing the JS only restriction gives you a huge amount more power over QML itself (building your own components in C++ vs combining them in JS).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: