3 ms·
No, I don't develop for mobile, so I cannot answer there. Exclusively desktop. I know Qt5 is pushing towards QML, but QWidgets aren't going away. In fact, I wo
by usernam 10y ago
No, I don't develop for mobile, so I cannot answer there. Exclusively desktop.
I know Qt5 is pushing towards QML, but QWidgets aren't going away. In fact, I would consider it to be a big mistake to use QML on desktop. It's much slower and doesn't really save the developer anything: pushing state to the JS layer doesn't you any good if you need to keep it sync with the lower layer as well. It's an extra indirection. It also looks completely out of place in all platforms.
QML might be partially useful for drawing on GL surfaces, but again the performance hit will be a huge setback. We use different widget kits for drawing on GL. Since QML and QWidgets are different anyway, there's no reason to stick to it.
Also, QML widgets are improving, but they're all still qualitatively inferior from an user/usage perspective.