[Interest] QMetaType create
Jérôme Godbout
jerome at bodycad.com
Thu Oct 6 15:24:22 CEST 2016
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 <kshegunov at gmail.com>
wrote:
> On Wed, Oct 5, 2016 at 11:42 PM, Jérôme Godbout <jerome at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20161006/6c4de5f6/attachment.html>
More information about the Interest
mailing list