[Development] Add widgets into qt3d window

Christian Gagneraud chgans at gna.org
Mon Mar 30 22:33:38 CEST 2015

On 31/03/15 01:08, Arjun Das wrote:
> Hi ,
> I have created a simple qt3d application in c++, which has a rotating cube.
> I would like to add buttons to the windows to stop/start rotating the
> cube. I am not able to see such an example anywhere in the qt3d examples
> which has support for widgets.

I recently came across this, but can't remember if it was on this list 
or stackoverfow. Anyway, there is a solution that allows you to make the 
Qt3D::Window behave as a widget, I think twiddling with it's 
Qt::WindowFlags is enough, something like view->setFlags(Qt::Widget).


> Could anyone please help me?
> Thanks
> Regards
> Arjun
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

More information about the Development mailing list