Yeah you're right, the ctor executed during the call is indeed a pointer type (8 bytes, 64 bits platform).
Thanks for the pointer, punt intended ;-) Jerome On Wed, Oct 5, 2016 at 11:42 PM, Konstantin Shegunov <kshegu...@gmail.com> wrote: > On Wed, Oct 5, 2016 at 11:42 PM, Jérôme Godbout <jer...@bodycad.com> > wrote: > >> Hi, >> I was looking for a way to create object dynamicaly out of a classname. I >> have the classname which I can convert properly to QMetaType. >> > > Hi, > My best guess is you're creating a pointer to the object, not the object > itself. Have you followed this thread[1] from this same mailing list? If > not, my advice is to have a look at it, it's full of good info on how the > meta-type system works. > > Kind regards. > > [1]: http://lists.qt-project.org/pipermail/interest/2016-March/021131.html >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest