[Interest] Using Widgets for new projects

Samuel Gaist samuel.gaist at edeltech.ch
Wed May 17 22:11:53 CEST 2017


> On 17 May 2017, at 18:45, Benjamin TERRIER <b.terrier at gmail.com> wrote:
> 
> 2017-05-17 18:14 GMT+02:00 Jérôme Godbout <jerome at bodycad.com>:
>> I don't say all desktop application should be done into Qml, but just that
>> it's doable into Qml no matter the application you have.
> 
> No, it is not always doable.
> 
> Let's say I want to make a desktop app that looks native.
> If I want to do it with QtQuick, I will have to use QtQuick Controls
> 1, but they have
> poor performances and do not support keyboard focus correctly (QTBUG-47658).
> So I am stuck with widgets.
> 
> Also few weeks ago I made a desktop app which embed a video player.
> I started by developing it with Qt Quick and Qt Multimedia, but
> because of QTBUG-53019
> it does not work well on some AMD hardware.
> From there I add 2 choices: switch to widgets or use another backend like vlc.
> But vlc needs a HWND to render into and you cannot get one with Qt Quick.
> In the end I rewrote the app with widgets.
> 
> Finally, in some cases, you might find yourself limited when using
> QtQuick as you do
> not have access to the scenegraph (most classes are private). On the other hand
> you have full access to QPainter and can draw whatever you want (even
> bezier curves).
> (I know you can do the same with canvas and QPaintedItem, but you loose a lot of
> what QML and the scenegraph offer)
> 
> BR,
> 
> Benjamin
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> 

Hi Benjamin,

Not directly related to the conversation at hand but since you are interested by VLC, you’ll likely want to take a look at the VLC-Qt project:

https://vlc-qt.tano.si

Regards,
Samuel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170517/e13dcbf2/attachment.sig>


More information about the Interest mailing list