Re: [Interest] qml or qwidget

2018-02-23 Thread Alexandre Ribeiro
The approach I followed to render OpenGL was this one: http://blog.qt.io/blog/2015/05/11/integrating-custom-op engl-rendering-with-qt-quick-via-qquickframebufferobject/ I did it this way because I wanted to have my own QQuickItem that I could easily instantiate in Qml. My 3D application has a

Re: [Interest] qml or qwidget

2018-02-23 Thread Jérôme Godbout
. From: Interest <interest-bounces+godboutj=amotus...@qt-project.org> on behalf of Sylvain Pointeau <sylvain.point...@gmail.com> Sent: Friday, February 23, 2018 8:10 AM To: Alexandre Ribeiro Cc: Qt Project Subject: Re: [Interest] qml or qwidget Hi, On Thu, Feb 22,

Re: [Interest] qml or qwidget

2018-02-23 Thread Sean Harmer
Hi, widgets or QML depends upon what type of application you want to build and how you want the UI to look. Both widgets and QML are capable of housing OpenGL content. Do you have a screenshot/mockup of the type of UI you are after please? I agree that Qt 3D is not wise at this stage if you

Re: [Interest] qml or qwidget

2018-02-23 Thread Sylvain Pointeau
Hi, On Thu, Feb 22, 2018 at 4:42 PM, Alexandre Ribeiro < alexandregomesribe...@gmail.com> wrote: > I'm using Qt Quick 2 with an in house 3D engine for a desktop application > and I've been getting great results. > > My clients actually required that we used an UI that wasn't native and > that

Re: [Interest] qml or qwidget

2018-02-23 Thread Sylvain Pointeau
Hi, On Thu, Feb 22, 2018 at 2:54 PM, Jérôme Godbout wrote: > For OpenGL, you might want to take a look at Qt3D if it suit your need. > Either can easily do the OpenGl part if you render to a texture and fill > the widgets or item painting with it. > > > I for one would go

Re: [Interest] qml or qwidget

2018-02-22 Thread Alexandre Ribeiro
I'm using Qt Quick 2 with an in house 3D engine for a desktop application and I've been getting great results. My clients actually required that we used an UI that wasn't native and that had a web 2.0 look, so the Qml/C++/OpenGL combination was a godsend. On Thu, Feb 22, 2018 at 3:03 PM, Uwe

Re: [Interest] qml or qwidget

2018-02-22 Thread Uwe Rathmann
On Thu, 22 Feb 2018 13:54:39 +, Jérôme Godbout wrote: > I for one would go Qml, since it's the new thing with more development > on it, which seem more future proof. On the developer mailing list it has been recently announced, that Quick Controls 1 is going into deprecated mode. So at

Re: [Interest] qml or qwidget

2018-02-22 Thread Jérôme Godbout
. From: Interest <interest-bounces+godboutj=amotus...@qt-project.org> on behalf of Sylvain Pointeau <sylvain.point...@gmail.com> Sent: Wednesday, February 21, 2018 5:05:10 PM To: Qt Project Subject: [Interest] qml or qwidget hello, I use heavily opengl (3.2 minimum) for now using cocoa,