I'm not sure why this isn't considered a bug to be fixed in 5.9. It is a LTS release, after all.
 
Sent: Wednesday, June 14, 2017 at 8:04 AM
From: max_bergman...@web.de
To: "Laszlo Agocs" <laszlo.ag...@qt.io>, interest@qt-project.org
Subject: Re: [Interest] Qt3D on Android with C++
Thanks, it's good to know that there will be a fix in the future. Unfortunatly I'm bound to Qt 5.9 right now.
 
Regard,
Max
 
Gesendet: Mittwoch, 14. Juni 2017 um 11:48 Uhr
Von: "Laszlo Agocs" <laszlo.ag...@qt.io>
An: "max_bergman...@web.de" <max_bergman...@web.de>, "interest@qt-project.org" <interest@qt-project.org>
Betreff: Re: [Interest] Qt3D on Android with C++

Hi,

 

createWindowContainer() has some minor issues on Android in Qt 5.9 and earlier, which unfortunately lead to not showing anything in the "embedded" window. The missing things have been added in the dev branch, so it should work in 5.10 (although I have only tested QOpenGLWindow/QVulkanWindow, not Qt3DWindow)

 

Best regards,

Laszlo

 


From: Interest <interest-bounces+laszlo.agocs=qt...@qt-project.org> on behalf of max_bergman...@web.de <max_bergman...@web.de>
Sent: Wednesday, June 14, 2017 11:41:51 AM
To: interest@qt-project.org
Subject: [Interest] Qt3D on Android with C++
 
Hi,
 
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:
Qt3DExtras::Qt3DWindow *view = new Qt3DExtras::Qt3DWindow();
QWidget *container = QWidget::createWindowContainer(view);    
QWidget *widget = new QWidget;    
QHBoxLayout *hLayout = new QHBoxLayout(widget);  
hLayout->addWidget(container, 1);

(from Basic shapes example)
 
This approach doesn't work on Android, only the widget with buttons is displayed but not the 3DWindow.
Is there a better way to add control elements to the window that works with Android?
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.
 
Regards Max
 
 
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to