[Development] Add widgets into qt3d window
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?
> Development mailing list
> Development at qt-project.org
More information about the Development