That's only part of it. I want Qt to support it too, mainly for console-qDebug output, but all for use in UI. (Imagine a text element that displays a socket state as it's text.)
> Sent: Thursday, March 19, 2020 at 4:54 PM > From: "Max Paperno" <ma...@wdg.us> > To: interest@qt-project.org > Subject: Re: [Interest] Will Qt6 end this enum issue? (or even 5.15?) > > > On 3/19/2020 11:07 AM, Jérôme Godbout wrote: > > I always put my Enum into C++, the sad part is that you need to create a > > dummy class to be exposeed to contain the enum. This make it possible to > > use the enum into Qml and C++. > > You know you can use a namespace instead, right? Not sure that's more > fun :) , but it feels a little cleaner than a "dummy" qgadget/qobject > class, IMHO. > > https://stackoverflow.com/questions/20089196/how-to-access-c-enum-from-qml/48106787#48106787 > > Cheers, > -Max > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest