News for hackers. Stuff that matters.
Re:Qt for Android better than ever before by mehhh on Thursday October 10, 2019 @11:47AM (#21215867)
Qt development using Python is similarly painful, I end up drafting things up in Qt Creator, taking that code and amending it to work in Python.

The tooling for Qt needs help, I feel like this is a huge reason why shovelware Electron apps are so common now.

Edit: Capitalization

Re:Qt for Android better than ever before by cocoa19 on Thursday October 10, 2019 @03:39PM (#21218392)
I've been developing C++ for 10+ years.

I think the pain is unfairly attributed to Qt. A lot of the pain actually comes from the poor tooling in the C++ world.

Conan is supposed to come to the rescue, but after attempting to use it, it feels like it's still not as easy to use as any other package manager (npm, pypi, gems, etc). I love C++ and Qt, but It's extremely difficult to convince people to start any new projects in C++.

Common C/C++ questions and answers in stack overflow: how do I do x in C++ (e.g. trim whitespace), the usual responses: 1. It's trivial to implement, do it yourself. 2. Why would you want to do that.

Compare that to pulling up a library to do that, or it's already baked into the standard library (e.g. Java).

Re:Qt for Android better than ever before by mehhh on Thursday October 10, 2019 @03:50PM (#21218509)
I would not want to develop a new application in C++, both Google and Mozilla decided it was bad enough they had to write better languages (Go & Rust), and the speed at which I can write things in Python, Lua or another lanugage is much faster than C++.

That being said, my SO would love you! He is always trying to get me to write things in C :D

Re:Qt for Android better than ever before by ahartmetz on Thursday October 10, 2019 @05:14PM (#21219238)
QString::trimmed() ;)

std::string is laughably underpowered in comparison - it's basically a vector of bytes, missing a huge amount of convenience methods and all Unicode support.

Re:Qt for Android better than ever before by stef-13013 on Thursday October 10, 2019 @01:17PM (#21216989)
It's Qt not QT
Re:Qt for Android better than ever before by mehhh on Thursday October 10, 2019 @01:35PM (#21217181)
Edited both comments, should be fixed now