[Interest] Will Qt6 end this enum issue? (or even 5.15?)
max-l at wdg.us
Thu Mar 19 16:54:53 CET 2020
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
More information about the Interest