Re: [Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
https://bugreports.qt.io/browse/QTBUG-56305 2016-09-30 16:47 GMT+02:00 Sean Harmer : > Hi, > > please do open a JIRA. However, it is more natural to share the Geometry > rather than the GeometryRenderer component itself. > > Cheers, > > Sean > > On 30/09/2016 15:18, Xavier Bigand wrote: > >> I fo

Re: [Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Sean Harmer
Hi, please do open a JIRA. However, it is more natural to share the Geometry rather than the GeometryRenderer component itself. Cheers, Sean On 30/09/2016 15:18, Xavier Bigand wrote: I found a workaround : QGeometryRenderer*clonedGeometryRenderer=newQGeometryRenderer(); QGeometry*clonedMe

[Interest] Android: qmake setting to use gradle?

2016-09-30 Thread Jason H
For the most part, you can just check out source and build a project. But if the project needs to be built with gradle, then it fails because the fault is ant. Is there something we can add to the .pro file to indicate to build it with gradle? (corresponding to the checkbox in the QtCreator UI)

Re: [Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
I found a workaround : QGeometryRenderer* clonedGeometryRenderer = new QGeometryRenderer(); QGeometry* clonedMeshGeometry = new QGeometry(clonedGeometryRenderer); foreach (QAttribute* attribute, geometryRenderer->geometry()->

Re: [Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
I took a look to the addComponent implementation and it seems normal that my code doesn't work because a component is intended to be attached once. So I don't understand the meaning of the shareable flag. I'll try to share the geometry instead. 2016-09-30 15:20 GMT+02:00 Xavier Bigand : > I am t

[Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
I am trying to share my QGeometryRenderer between many Entities, but the addComponent doesn't have any effect. When I load our models from files, I save the root entity node in a map, and after I clone the node tree when a previously model is in the map. I have no issue with the material component

Re: [Interest] Status of Qt and WebAssembly, Emscripten, NaCl...

2016-09-30 Thread Morten Sorvig
> On 29 Sep 2016, at 14:35, Jean-Michaël Celerier > wrote: > > Hello, > > Is there an official "stance" on the Qt Project regarding the "C++ ported > Web" platforms ? > > With 4.8 there was emscripten-qt, then Morten Sørvig did a lot of work on the > wip/nacl branch but it seems a bit stal

Re: [Interest] What don't you like about Qt?

2016-09-30 Thread Maxim
Some things that i don't like: -Qt uses own container classes (QList, QVector, etc.) instead STL containers (or some kind of STL derived containers). -Qt on Android: still big output APK size On Sat, Sep 17, 2016 at 11:20 PM, Sérgio Martins wrote: > Hi, > > > It's not unusual for us developers