On 17 May 2016 at 08:47, Hamish Moffatt <ham...@risingsoftware.com> wrote:
>
> And do I need to call Q_DECLARE_METATYPE(QList<MyQuestion::QuestionType>) or
> not? It doesn't seem to be necessary in my test cases
I don't think so. The documentation for Q_DECLARE_METATYPE says that
if Type is registered then QList<Type> is automatically recognized by
the metatype system as well. And as far as I understand the
documentation, this applies to types declared as Q_ENUM as well.

-- 
  Alexey Rusakov
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to