<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hi,</div>

<div> </div>

<div>I'm currently facing a problem with Qt3D and widgets on Android. My C++ application got a Qt3DWindow in a WindowContainer, so I can use Widgets for controls in this window:</div>

<div>
<pre>Qt3DExtras::Qt3DWindow *view = new Qt3DExtras::Qt3DWindow();
QWidget *container = QWidget::createWindowContainer(view);    
QWidget *widget = new QWidget;    
QHBoxLayout *hLayout = new QHBoxLayout(widget);  
hLayout->addWidget(container, 1);</pre>

<div>(from Basic shapes example)</div>

<div> </div>

<div>This approach doesn't work on Android, only the widget with buttons is displayed but not the 3DWindow.</div>

<div>Is there a better way to add control elements to the window that works with Android?</div>

<div>If not, maybe I could use a Scene3D. I've got a QVector of entities (with components) I want to display there. How can I do this? I don't want to change the model, just the view.</div>

<div> </div>

<div>Regards Max</div>

<div> </div>
</div>

<div> </div></div></body></html>