[Development] Add widgets into qt3d window

Sean Harmer sean.harmer at kdab.com
Tue Mar 31 11:18:38 CEST 2015

On Monday 30 Mar 2015 17:38:37 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.
> Could anyone please help me?

QWidget::createWindowContainer() if you wish to embed the window in a widget 

Alternatively, use a Scene3D element if you wish to use a Qt3D scene within a 
Qt Quick 2 scene (i.e. to overlay Qt Quick 2 controls over the 3D scene).

More integration points will come later.



Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
KDAB (UK) Ltd, a KDAB Group company
Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
Mobile: +44 (0)7545 140604
KDAB - Qt Experts

More information about the Development mailing list