On Fri, Feb 14, 2014 at 4:20 PM, Graham Labdon <
graham.lab...@avalonsciences.com> wrote:

>
> Hi
> In my application I have a class name as a string
> This is the name of a class derived from QObject.
> Now what I would like to do is the get metaObject for this class from the
> string
>
> Is this at all possible?
>

I don't think that that's possible. You could store the static meta object
in hashmap with the class name as the key, but then this would require you
to know all possible class names before-hand.

HTH,
-mandeep



>
> Many thanks
>
> _______________________________________________
> 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