Hi, -----Original Message----- From: Interest [mailto:interest-bounces+sue=sf.mpg...@qt-project.org] On Behalf Of Hamish Moffatt Sent: Tuesday, May 17, 2016 3:42 AM To: interest@qt-project.org Subject: Re: [Interest] how can I call qRegisterMetaType?
Maybe you will get better results with an enum class: enum MyEnum { EA, EB, EC }; -> enum class MyEnum { EA, EB, EC }; Then the compiler also differentiates between enum lists of different classes with the same name. But it sure will require you to always use the full name: "ClassName::EnumTypeName". - Michael. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest