[Interest] Is there a good alternative to the QML Controls in Qt6 for native desktop integration purposes?

Mark Gaiser markg85 at gmail.com
Mon Feb 21 19:47:25 CET 2022


On Mon, Feb 21, 2022 at 6:27 PM coroberti <coroberti at gmail.com> wrote:

> Hi Mark,
> The initial dev is slower when using Widgets,
> but with less bugs and more robustness, it could be worth doing it,
> and at the end of the day, it is even time-saving.
>
> The Qt apps on the desktop platforms you mentioned look very native with
> Widgets.
>
> There are many tips and ready solutions for Widgets you can find on the web
> to cut the time for the initial development.
>

Hi Robert,

Thank you for your reply!
I'm well aware of Widgets and it's looks, I've got quite some years of
experience with them:)

In fact, there's a "funny" thing with Qt here.
There is a QML component gallery [1] meant to demonstrate the components.
1. The compilation of that project takes _longer_ than the QWidgets gallery
demo [2]
2. You need to restart the QML gallery for theme changes where they are
right there on the fly in QWidgets.

Having said that...
The development speed and debugging is in fact faster in QML. It's also
much easier to change quite significant parts with relative ease.
Therefore I'd still like to go for QML.

But the components Qt provides are so bad that it's essentially impossible.
Hence I'm looking for components that integrate nicely in the platform.

Should I just consider QML to be dead[3] on the desktop now?

[1]
https://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quickcontrols2/gallery
[2] https://code.qt.io/cgit/qt/qtbase.git/tree/examples/widgets/gallery
[3] As in when going for platform integration. If you go the full custom
route you're fine.

>
> Kind regards,
> Robert Iakobashvili
> ............................
>
>
> On Mon, Feb 21, 2022 at 5:44 PM Mark Gaiser <markg85 at gmail.com> wrote:
>
>> Hi,
>>
>> I'm facing so many bugs in QML Controls in Qt6 (they used to be Controls
>> V2 in the Qt 5.x days) that I don't want to use them at all anymore. They
>> are bugged beyond repair and downright unusable for native desktop
>> integration purposes.
>>
>> Is there another good open source component set out there that integrates
>> with the desktop. Specifically with Windows but preferably also with Linux
>> (kde and gnome) and Mac.
>>
>> Using QWidgets should not be an alternative as it slows down development
>> a lot. But given the crap that QML Controls is makes me consider switching
>> to QWidgets instead.
>>
>>
>> Best regards,
>> Mark
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> https://lists.qt-project.org/listinfo/interest
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220221/0d049e2a/attachment.htm>


More information about the Interest mailing list