[Interest] QMetaType create

Konstantin Shegunov kshegunov at gmail.com
Thu Oct 6 05:42:36 CEST 2016


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/c3d8a031/attachment.html>


More information about the Interest mailing list